final class JsonScope
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
CLOSED
A document that's been closed and cannot be accessed.
|
(package private) static int |
DANGLING_NAME
An object whose most recent element is a key.
|
(package private) static int |
EMPTY_ARRAY
An array with no elements requires no separators or newlines before
it is closed.
|
(package private) static int |
EMPTY_DOCUMENT
No object or array has been started.
|
(package private) static int |
EMPTY_OBJECT
An object with no name/value pairs requires no separators or newlines
before it is closed.
|
(package private) static int |
NONEMPTY_ARRAY
A array with at least one value requires a comma and newline before
the next element.
|
(package private) static int |
NONEMPTY_DOCUMENT
A document with at an array or object.
|
(package private) static int |
NONEMPTY_OBJECT
An object with at least one name/value pair requires a comma and
newline before the next element.
|
Constructor and Description |
---|
JsonScope() |
static final int EMPTY_ARRAY
static final int NONEMPTY_ARRAY
static final int EMPTY_OBJECT
static final int DANGLING_NAME
static final int NONEMPTY_OBJECT
static final int EMPTY_DOCUMENT
static final int NONEMPTY_DOCUMENT
static final int CLOSED