Token
A structure, name, or value type in a JSON-encoded string.
enum Token
Content copied to clipboard
Entries
BEGIN_ARRAY
Link copied to clipboard
The opening of a JSON array. Written using beginArray and read using beginArray .
Content copied to clipboard
END_ARRAY
Link copied to clipboard
BEGIN_OBJECT
Link copied to clipboard
The opening of a JSON object. Written using beginObject and read using beginObject .
Content copied to clipboard
END_OBJECT
Link copied to clipboard
Content copied to clipboard
NAME
Link copied to clipboard
NUMBER
Link copied to clipboard
A JSON number represented in this API by a Java {@code double} , {@code long} , or {@code int} .
Content copied to clipboard
BOOLEAN
Link copied to clipboard
A JSON {@code true} or {@code false} .
Content copied to clipboard
END_DOCUMENT
Link copied to clipboard
The end of the JSON stream. This sentinel value is returned by peek to signal that the JSON-encoded value has no more tokens.
Content copied to clipboard