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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context)
-
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 interfacecom.google.gson.JsonDeserializer<PersonCredit>
- Throws:
com.google.gson.JsonParseException
-