Public 属性 | |
| EMPTY_ARRAY | |
| NONEMPTY_ARRAY | |
| EMPTY_OBJECT | |
| DANGLING_NAME | |
| NONEMPTY_OBJECT | |
| EMPTY_DOCUMENT | |
| NONEMPTY_DOCUMENT | |
| CLOSED | |
Lexical scoping elements within a JSON reader or writer.
| com.google.gson.stream.JsonScope.CLOSED |
A document that's been closed and cannot be accessed.
| com.google.gson.stream.JsonScope.DANGLING_NAME |
An object whose most recent element is a key. The next element must be a value.
| com.google.gson.stream.JsonScope.EMPTY_ARRAY |
An array with no elements requires no separators or newlines before it is closed.
| com.google.gson.stream.JsonScope.EMPTY_DOCUMENT |
No object or array has been started.
| com.google.gson.stream.JsonScope.EMPTY_OBJECT |
An object with no name/value pairs requires no separators or newlines before it is closed.
| com.google.gson.stream.JsonScope.NONEMPTY_ARRAY |
A array with at least one value requires a comma and newline before the next element.
| com.google.gson.stream.JsonScope.NONEMPTY_DOCUMENT |
A document with at an array or object.
| com.google.gson.stream.JsonScope.NONEMPTY_OBJECT |
An object with at least one name/value pair requires a comma and newline before the next element.
1.8.8