Class FieldValueSetParser

java.lang.Object
com.amilesend.onedrive.parse.resource.parser.FieldValueSetParser
All Implemented Interfaces:
GsonParser<Map<String,Object>>

public class FieldValueSetParser extends Object implements GsonParser<Map<String,Object>>
Parses a response body that contains a map of column names and associated values (referred to as a FieldValueSet).

API Documentation

See Also:
  • Constructor Details

    • FieldValueSetParser

      public FieldValueSetParser()
  • Method Details

    • parse

      public Map<String,Object> parse(@NonNull com.google.gson.Gson gson, @NonNull InputStream jsonStream)
      Description copied from interface: GsonParser
      Deserializes a JSON-formatted input stream to the defined POJO type.
      Specified by:
      parse in interface GsonParser<Map<String,Object>>
      Parameters:
      gson - the Gson instance used to deserialize the string
      jsonStream - stream with expected JSON-formatted contents
      Returns:
      the parsed POJO instance