Class ListListParser

java.lang.Object
com.amilesend.onedrive.parse.resource.parser.ListListParser
All Implemented Interfaces:
GsonParser<List<List>>

public class ListListParser extends Object implements GsonParser<List<List>>
Parses a response body that contains a list of ListItems.

API Documentation

See Also:
  • Constructor Details

    • ListListParser

      public ListListParser(String siteId)
  • Method Details

    • parse

      public List<List> 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<List<List>>
      Parameters:
      gson - the Gson instance used to deserialize the string
      jsonStream - stream with expected JSON-formatted contents
      Returns:
      the parsed POJO instance