Class SiteParser
java.lang.Object
com.amilesend.onedrive.parse.resource.parser.SiteParser
- All Implemented Interfaces:
GsonParser<Site>
Parses a response body that contains a
Sites.
- 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
-
SiteParser
public SiteParser()
-
-
Method Details
-
parse
Description copied from interface:GsonParserDeserializes a JSON-formatted input stream to the defined POJO type.- Specified by:
parsein interfaceGsonParser<Site>- Parameters:
gson- the Gson instance used to deserialize the stringjsonStream- stream with expected JSON-formatted contents- Returns:
- the parsed POJO instance
-