final class ImmutableJSONDocument extends JSONDocument
JSONDocument.IteratorWrapper, JSONDocument.TypeEMPTY_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, typepublic ImmutableJSONDocument(JSONDocument.Type type)
public java.util.List<java.lang.Object> array()
JSONDocumentarray in class JSONDocumentpublic java.util.Map<java.lang.String,java.lang.Object> object()
JSONDocumentobject in class JSONDocument