Class PersonCreditDeserializer

java.lang.Object
com.amilesend.tmdb.client.parse.adapters.PersonCreditDeserializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<PersonCredit>

public class PersonCreditDeserializer extends Object implements com.google.gson.JsonDeserializer<PersonCredit>
GSON deserializer that inspects the media_type attribute and returns the associated POJO type.
See Also:
  • Constructor Details

    • PersonCreditDeserializer

      public PersonCreditDeserializer()
  • Method Details

    • deserialize

      public PersonCredit deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<PersonCredit>
      Throws:
      com.google.gson.JsonParseException