| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | android.util.JsonToken | |
A structure, name or value type in a JSON-encoded string.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| JsonToken | BEGIN_ARRAY | The opening of a JSON array. | |||||||||
| JsonToken | BEGIN_OBJECT | The opening of a JSON object. | |||||||||
| JsonToken | BOOLEAN | A JSON true or false. |
|||||||||
| JsonToken | END_ARRAY | The closing of a JSON array. | |||||||||
| JsonToken | END_DOCUMENT | The end of the JSON stream. | |||||||||
| JsonToken | END_OBJECT | The closing of a JSON object. | |||||||||
| JsonToken | NAME | A JSON property name. | |||||||||
| JsonToken | NULL | A JSON null. |
|||||||||
| JsonToken | NUMBER | A JSON number represented in this API by a Java double, long, or int. |
|||||||||
| JsonToken | STRING | A JSON string. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|
|||||||||
|
|
|
|
|||||||||
| [Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Enum
|
|||||||||||
From class java.lang.Object
|
|||||||||||
From interface java.lang.Comparable
|
|||||||||||
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().
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 number represented in this API by a Java double, long, or int.