title: Moshi Retrofit error: "Expected a string but was BEGIN_OBJECT"
body: <p>I built my Retrofit instance like this:</p>
  
  <pre><code>Retrofit retrofit = new Retrofit.Builder()
              .baseUrl(server.url("/"))
              .addConverterFactory(MoshiConverterFactory.create(moshi))
              .build();
  </code></pre>
  
  <p>Then I am calling my <strong>MockWebServer</strong> instance like this:</p>
  
  <pre><code>server.enqueue(new MockResponse().setBody(jsonStr));
  </code></pre>
  
  <p>Where <strong>jsonStr</strong> is built like this:</p>
  
  <pre><code>MyModel model = new MyModel("HOME", "AWAY", "ENTERTAIN", "NIGHT", "MUTE",
              "VOLUME", "SCENE 1", "SCENE 2", "SCENE 3");
  JsonAdapter&lt;MyModel&gt; jsonAdapter = moshi.adapter(MyModel.class).toJson(model);
  </code></pre>
  
  <p>However, the code crashes at this point:</p>
  
  <pre><code>Response response = api.getString().execute();
  </code></pre>
  
  <p>The exception is:</p>
  
  <blockquote>
    <p>com.squareup.moshi.JsonDataException: Expected a string but was BEGIN_OBJECT at path $</p>
  </blockquote>
  
  <p>What did I do wrong?</p>