title: Cannot resolve method 'fromJson(org.json.JSONObject, java.lang.Class<me.myrottentomatoes.Result[]>)'
body: <p>in the method fromJson, in my class Result, I want to deserialize the JsonObject into an ArrayList of the type Result.</p>
  
  <pre><code>public static ArrayList&lt;Result&gt; fromJson(JSONObject items) {
      ArrayList results = new ArrayList&lt;Result&gt;();
      Gson gson = new Gson();
      return results = gson.fromJson(items, Result[].class);
  }
  </code></pre>
  
  <p>I can't find the solution for this error:</p>
  
  <pre><code>Cannot resolve method 'fromJson(org.json.JSONObject, java.lang.Class&lt;me.myrottentomatoes.Result[]&gt;)'
  </code></pre>
  
  <p>To me it looks like I'm passing the right arguments to the method. Please help, thanks.
  Here's the Result class:</p>
  
  <pre><code>public class Result {
  
  @Expose
  private Boolean adult;
  @SerializedName("backdrop_path")
  @Expose
  private String backdropPath;
  @SerializedName("genre_ids")
  @Expose
  private List&lt;Integer&gt; genreIds = new ArrayList&lt;Integer&gt;();
  @Expose
  private Integer id;
  @SerializedName("original_language")
  @Expose
  private String originalLanguage;
  @SerializedName("original_title")
  @Expose
  private String originalTitle;
  @Expose
  private String overview;
  @SerializedName("release_date")
  @Expose
  private String releaseDate;
  @SerializedName("poster_path")
  @Expose
  private String posterPath;
  @Expose
  private Double popularity;
  @Expose
  private String title;
  @Expose
  private Boolean video;
  @SerializedName("vote_average")
  @Expose
  private Double voteAverage;
  @SerializedName("vote_count")
  @Expose
  private Integer voteCount;
  
  //get's and set's...
  //and the method public static ArrayList&lt;Result&gt; fromJson(JSONObject items)
  </code></pre>