title: How to use mappingsloader in wiremock to load mappings file(s)?
body: <p>I have created my mappings by recording the server's transactions. Now I want to use my json mapping file(s) to load the mappings. For that I have the code below:</p>
  <pre><code>import com.github.tomakehurst.wiremock.WireMockServer;
  
  public class mockedTests{
      public static WireMockServer mockingServer;
      
      public void loadMaps(){
          mockingServer.loadMappingsUsing(****);
      }
  }
  </code></pre>
  <p>I checked the wiremock code and the <code>loadMappingsUsing</code> method needs a <code>MappingsLoader</code> as its parameter. However, I can't find a way to create a <code>MappingsLoader</code> properly. I couldn't find anything in the documentation and I can't find any examples nor tutorials online. Furthermore, I am stuck with using a <code>WireMockServer</code> object rather than a rule or a <code>WireMock</code> object. Does anyone know how I can create a <code>MappingsLoader</code> to load my mappings json file(s)? I am using the standalone version of wiremock. Thanks.</p>