Map Json Reader
A JsonReader that reads data from a regular Map<String, Any?>
Map values should be any of:
String
Int
Double
Long
JsonNumber
null
Map<String, Any?> where values are any of these values recursively
List<Any?> where values are any of these values recursively
Anything else is undefined
Parameters
root
the root Map to read from
Because it's mostly used internally the checks/verifications are very slim. To read from a okio.BufferedSource, see also BufferedSourceJsonReader
Constructors
MapJsonReader
Link copied to clipboard
the root Map to read fromBecause it's mostly used internally the checks/verifications are very slim.
Types
Functions
beginArray
Link copied to clipboard
beginObject
Link copied to clipboard
endArray
Link copied to clipboard
endObject
Link copied to clipboard
nextBoolean
Link copied to clipboard
nextDouble
Link copied to clipboard
nextNumber
Link copied to clipboard
nextString
Link copied to clipboard
peek
Link copied to clipboard
selectName
Link copied to clipboard