final class ImmutableJSONDocument extends JSONDocument
JSONDocument.IteratorWrapper, JSONDocument.Type
EMPTY_ARRAY, EMPTY_OBJECT, JSON_XPATH_URI
Constructor and Description |
---|
ImmutableJSONDocument(JSONDocument.Type type) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
array()
Returns the array representation of the node.
|
java.util.Map<java.lang.String,java.lang.Object> |
object()
Returns the map representation of the node.
|
createArray, createArray, createObject, equals, get, get, getBoolean, getBoolean, getList, getList, getMap, getMap, getNumber, getNumber, getString, getString, hashCode, isArray, isNull, isNull, isObject, iterator, printEscapedString, set, set, setBoolean, setBoolean, setNull, setNull, setNumber, setNumber, setString, setString, toJSON, toJSON, toString, type
public ImmutableJSONDocument(JSONDocument.Type type)
public java.util.List<java.lang.Object> array()
JSONDocument
array
in class JSONDocument
public java.util.Map<java.lang.String,java.lang.Object> object()
JSONDocument
object
in class JSONDocument