title: Retrofit error when response is being parsed as list
body: <p>I'm getting the following error when attempting to get a array of json objects using retrofit.</p>
  
  <blockquote>
    <p>java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 2 path $</p>
  </blockquote>
  
  <p>The request is declared in the api interface as</p>
  
  <pre><code>interface HttpRequests {
  
      @GET("/api/v1/emergency")
      Observable&lt;List&lt;Emergency&gt;&gt; getEmergencies(@Query("lat") Double lat,
                                                      @Query("lng") Double lng,
                                                      @Query("dist") int dist);
  </code></pre>
  
  <p>Where Emergency is defined as </p>
  
  <pre><code>public class Emergency {
  
      @SerializedName("emergencyUuid")
      @Expose
      private String emergencyUuid;
      @SerializedName("lat")
      @Expose
      private Double lat;
      @SerializedName("lng")
      @Expose
      private Double lng;
      @SerializedName("phoneNumber")
      @Expose
      private String phoneNumber;
  
      public Emergency(){};
      public Emergency(String emergencyUuid, Double lat, Double lng, String phoneNumber){
          this.emergencyUuid = emergencyUuid;
          this.lat = lat;
          this.lng = lng;
          this.phoneNumber = phoneNumber;
      }
  
      // getters &amp; setters
  
  }
  </code></pre>
  
  <p>When I replace the <code>List&lt;Emergency&gt;</code> with <code>String</code> I can print the response which looks somewhat like:</p>
  
  <pre><code>"[{\"emergencyUuid\":\"axkdjfiwokdfj\",\"lat\":22.22,\"lng\":33.33,\"phoneNumber\":\"12345678910\"}]"
  </code></pre>
  
  <p>This seems to me a perfectly fine json array with a single emergency object. I do not understand why this can't be parsed. What did I do wrong?</p>