Top Description Fields Constructors Methods
com.google.gson.stream

pack-priv final Class JsonScope

extends Object
Class Inheritance

Lexical scoping elements within a JSON reader or writer.
Author
Jesse Wilson
Since
1.6

Field Summary

Modifier and TypeField and Description
pack-priv static final int
CLOSED

A document that's been closed and cannot be accessed.

pack-priv static final int
DANGLING_NAME

An object whose most recent element is a key.

pack-priv static final int
EMPTY_ARRAY

An array with no elements requires no separator before the next element.

pack-priv static final int
EMPTY_DOCUMENT

No top-level value has been started yet.

pack-priv static final int
EMPTY_OBJECT

An object with no name/value pairs requires no separator before the next element.

pack-priv static final int
NONEMPTY_ARRAY

An array with at least one value requires a separator before the next element.

pack-priv static final int
NONEMPTY_DOCUMENT

A top-level value has already been started.

pack-priv static final int
NONEMPTY_OBJECT

An object with at least one name/value pair requires a separator before the next element.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLOSEDback to summary
pack-priv static final int CLOSED

A document that's been closed and cannot be accessed.

DANGLING_NAMEback to summary
pack-priv static final int DANGLING_NAME

An object whose most recent element is a key. The next element must be a value.

EMPTY_ARRAYback to summary
pack-priv static final int EMPTY_ARRAY

An array with no elements requires no separator before the next element.

EMPTY_DOCUMENTback to summary
pack-priv static final int EMPTY_DOCUMENT

No top-level value has been started yet.

EMPTY_OBJECTback to summary
pack-priv static final int EMPTY_OBJECT

An object with no name/value pairs requires no separator before the next element.

NONEMPTY_ARRAYback to summary
pack-priv static final int NONEMPTY_ARRAY

An array with at least one value requires a separator before the next element.

NONEMPTY_DOCUMENTback to summary
pack-priv static final int NONEMPTY_DOCUMENT

A top-level value has already been started.

NONEMPTY_OBJECTback to summary
pack-priv static final int NONEMPTY_OBJECT

An object with at least one name/value pair requires a separator before the next element.

Constructor Detail

JsonScopeback to summary
private JsonScope()