Gson same serialize name with retrofit
<p>The backend I work with return's in one Api 'type' as Object and with another Api 'type' as a String, I use Movie and when I parse it with Retrofit (Gson) I get error.
I understand that I need to write an Desiralize but I had no success doing it.</p>

<pre><code>public class MovieResponse extends Movie {
    @SerializedName("media") @Expose public **String media**;
  }


public class Movie {
  @SerializedName("media")  **private Media media**;
  @SerializedName("id") @Expose private Integer id;
  @SerializedName("eventTypeId") @Expose private Integer eventTypeId;
  @SerializedName("typeName") @Expose private String typeName;
  @SerializedName("title") @Expose private String title;
  @SerializedName("englishTitle") @Expose private String englishTitle; ...
</code></pre>

<p>my json response: </p>

<pre><code>{
  "query": "ab",
  "events": {
    "movies": [
      {
        "id": 2561599,
        "title": "bla",
        "englishTitle": null,
        "media": "http://images.com/w/a.jpg",
        "typeName": "movie",
        "eventTypeId": 178
      }
    ],
    "tvshows": [
      {
        "id": 1761630,
        "title": "a'",
        "englishTitle": "Ramat Aviv Gimel",
        "media": "http://c.jpg",
        "typeName": "tvshow",
        "eventTypeId": 166
      },
      {
        "id": 2855624,
        "title": "b",
        "englishTitle": "Lost in Africa",
        "media": "http://d.jpg",
        "typeName": "tvshow",
        "eventTypeId": 166
      }
    ]
  }
}
</code></pre>