Public 属性 | |
| BEGIN_ARRAY | |
| END_ARRAY | |
| BEGIN_OBJECT | |
| END_OBJECT | |
| NAME | |
| STRING | |
| NUMBER | |
| BOOLEAN | |
| NULL | |
| END_DOCUMENT | |
A structure, name or value type in a JSON-encoded string.
| com.google.gson.stream.JsonToken.BEGIN_ARRAY |
The opening of a JSON array. Written using JsonWriter#beginObject and read using JsonReader#beginObject.
| com.google.gson.stream.JsonToken.BEGIN_OBJECT |
The opening of a JSON object. Written using JsonWriter#beginObject and read using JsonReader#beginObject.
| com.google.gson.stream.JsonToken.BOOLEAN |
A JSON
or
.
| com.google.gson.stream.JsonToken.END_ARRAY |
The closing of a JSON array. Written using JsonWriter#endArray and read using JsonReader#endArray.
| com.google.gson.stream.JsonToken.END_DOCUMENT |
The end of the JSON stream. This sentinel value is returned by JsonReader#peek() to signal that the JSON-encoded value has no more tokens.
| com.google.gson.stream.JsonToken.END_OBJECT |
The closing of a JSON object. Written using JsonWriter#endObject and read using JsonReader#endObject.
| com.google.gson.stream.JsonToken.NAME |
A JSON property name. Within objects, tokens alternate between names and their values. Written using JsonWriter#name and read using JsonReader#nextName
| com.google.gson.stream.JsonToken.NULL |
A JSON
.
| com.google.gson.stream.JsonToken.NUMBER |
A JSON number represented in this API by a Java
,
, or
.
| com.google.gson.stream.JsonToken.STRING |
A JSON string.
1.8.8