| com.neomades.json.JSONToken |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | BEGIN_ARRAY | The opening of a JSON array. | |||||||||
| int | BEGIN_OBJECT | The opening of a JSON object. | |||||||||
| int | BOOLEAN | A JSON true or false. |
|||||||||
| int | END_ARRAY | The closing of a JSON array. | |||||||||
| int | END_DOCUMENT | The end of the JSON stream. | |||||||||
| int | END_OBJECT | The closing of a JSON object. | |||||||||
| int | NAME | A JSON property name. | |||||||||
| int | NULL | A JSON null. |
|||||||||
| int | NUMBER | A JSON number represented in this API by a Java double, long, or int. |
|||||||||
| int | STRING | A JSON string. | |||||||||
The opening of a JSON array. Written using beginObject() and
read using beginObject().
The opening of a JSON object. Written using beginObject()
and read using beginObject().
A JSON true or false.
The closing of a JSON array. Written using endArray() and
read using endArray().
The end of the JSON stream. This sentinel value is returned by
peek() to signal that the JSON-encoded value has no more
tokens.
The closing of a JSON object. Written using endObject() and
read using endObject().
A JSON property name. Within objects, tokens alternate between names and
their values. Written using name(String) and read using
nextName()
A JSON null.
A JSON number represented in this API by a Java double, long, or int.
A JSON string.