Class PersonResultListParser
java.lang.Object
com.amilesend.tvmaze.client.parse.parser.PersonResultListParser
- All Implemented Interfaces:
GsonParser<List<PersonResult>>
Parses a list of person search results.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream) Deserializes a JSON-formatted input stream to the defined POJO type.
-
Constructor Details
-
PersonResultListParser
public PersonResultListParser()
-
-
Method Details
-
parse
public List<PersonResult> parse(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream) Description copied from interface:GsonParserDeserializes a JSON-formatted input stream to the defined POJO type.- Specified by:
parsein interfaceGsonParser<List<PersonResult>>- Parameters:
gson- the Gson instance used to deserialize the stringjsonStream- stream with expected JSON-formatted contents- Returns:
- the parsed POJO instance
-