DynamicJsJsonReader
A JsonReader that reads data from a javascript dynamic
Map values should be any of:
String
Int
Double
Long
JsonNumber
null
dynamic where values are any of these values recursively
Array
where values are any of these values recursively
Anything else is undefined
To read from a okio.BufferedSource, see also BufferedSourceJsonReader
Parameters
Functions
buffers the next Object. Has to be called in BEGIN_OBJECT
position. The returned MapJsonReader can use MapJsonReader.rewind to read fields multiple times
Reads a ApolloResponse from this. The caller is responsible for closing this.
Returns the Kotlin representation of the given JsonReader
Reads a single ApolloResponse from this. Returns an error response if this contains more than one JSON response or trailing tokens. toApolloResponse takes ownership and closes this.