Class BasicParser<T>
java.lang.Object
com.amilesend.client.parse.parser.BasicParser<T>
- Type Parameters:
- T- the object type
- All Implemented Interfaces:
- GsonParser<T>
Defines a basic 
GsonParser implementation for single object type.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionparse(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream) Deserializes a JSON-formatted input stream to the defined POJO type.Methods inherited from class Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GsonParserparse
- 
Constructor Details- 
BasicParser
 
- 
- 
Method Details- 
parseDescription copied from interface:GsonParserDeserializes a JSON-formatted input stream to the defined POJO type.- Specified by:
- parsein interface- GsonParser<T>
- Parameters:
- gson- the Gson instance used to deserialize the string
- jsonStream- stream with expected JSON-formatted contents
- Returns:
- the parsed POJO instance
 
 
-