Class GetColumnValuesResponseParser
java.lang.Object
com.amilesend.onedrive.parse.resource.parser.GetColumnValuesResponseParser
- All Implemented Interfaces:
GsonParser<GetColumnValuesResponse>
public class GetColumnValuesResponseParser
extends Object
implements GsonParser<GetColumnValuesResponse>
Parses a response body that contains a map of column names and values.
- 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
-
GetColumnValuesResponseParser
public GetColumnValuesResponseParser()
-
-
Method Details
-
parse
public GetColumnValuesResponse 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<GetColumnValuesResponse>- Parameters:
gson- the Gson instance used to deserialize the stringjsonStream- stream with expected JSON-formatted contents- Returns:
- the parsed POJO instance
-