| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected ArrayNode | |
| protected JsonNode | _at(JsonPointer ptr)
Implements abstract tools. Helper method used by other methods for traversing the next step
of given path expression, and returning matching value node if any:
if no match, |
| protected boolean | |
| protected ArrayNode | |
| protected ArrayNode | |
| protected String | _valueDesc()
Implements abstract tools. Method for implementation classes to return a short description of contained value, to be used in error messages. |
| protected ArrayNode | _withArray(JsonPointer origPtr, JsonPointer currentPtr, JsonNode.
Overrides tools.
|
| protected ArrayNode | |
| protected ObjectNode | _withObject(JsonPointer origPtr, JsonPointer currentPtr, JsonNode.
Implements abstract tools.
|
| protected ObjectNode | |
| protected void | |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod for adding specified number at the end of this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod for adding specified number at the end of this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod for adding specified number at the end of this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod for adding specified number at the end of this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod for adding specified number at the end of this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod for adding specified number at the end of this array. |
| public ArrayNode | Returns: This array node, to allow chainingMethod for adding specified number at the end of this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod for adding specified boolean value at the end of this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod for adding specified binary value at the end of this array (note: when serializing as JSON, will be output Base64 encoded) |
| public ArrayNode | |
| public ArrayNode | Returns: This node (to allow chaining)Nodes to add nodes)Method for adding given nodes as child nodes of this array node. |
| public ArrayNode | Returns: Newly constructed ArrayNode (NOTE: NOT `this` ArrayNode)Method that will construct an ArrayNode and add it at the end of this array node. |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will add a null value at the end of this array node. |
| public ObjectNode | Returns: Newly constructed ObjectNode (NOTE: NOT `this` ArrayNode)Method that will construct an ObjectNode and add it at the end of this array node. |
| public ArrayNode | |
| public ArrayNode | |
| public JsonToken | asToken()
Implements abstract tools. Implements tools. Method that can be used for efficient type detection when using stream abstraction for traversing nodes. |
| public ArrayNode | deepCopy()
Implements abstract tools. Method that can be called to get a node that is guaranteed not to allow changing of this node through mutators on this node or any of its children. |
| public Collection | |
| public boolean | equals(Comparator<JsonNode> comparator, JsonNode o)
Overrides tools. Entry method for invoking customizable comparison, using passed-in
|
| public boolean | equals(Object o)
Implements abstract tools. Equality for node objects is defined as full (deep) value equality. |
| public ObjectNode | findParent(String propertyName)
Implements abstract tools. Method for finding a JSON Object that contains specified field, within this node or its descendants. |
| public List | findParents(String propertyName, List<JsonNode> foundSoFar)
Implements abstract tools.
|
| public JsonNode | findValue(String propertyName)
Implements abstract tools. Method for finding the first JSON Object field with specified name in this node or its child nodes, and returning value it has. |
| public List | findValues(String propertyName, List<JsonNode> foundSoFar)
Implements abstract tools.
|
| public List | findValuesAsString(String propertyName, List<String> foundSoFar)
Implements abstract tools.
|
| public JsonNode | get(int index)
Implements abstract tools. Implements tools. Method for accessing value of the specified element of an array node. |
| public JsonNode | get(String propertyName)
Implements abstract tools. Implements tools. Method for accessing value of the specified property of an Object node. |
| public JsonNodeType | getNodeType()
Implements abstract tools. Return the type of this node |
| public int | hashCode()
Implements abstract tools. Returns a hash code value for this object. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert specified numeric value at specified position in this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert specified numeric value at specified position in this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert specified numeric value at specified position in this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert specified numeric value at specified position in this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert specified numeric value at specified position in this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert specified numeric value at specified position in this array. |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert specified numeric value at specified position in this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert specified String at specified position in this array. |
| public ArrayNode | |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert specified binary value at specified position in this array (note: when written as JSON, will be Base64 encoded) |
| public ArrayNode | Returns: Newly constructedArrayNode (note! NOT `this` ArrayNode)Method for creating an array node, inserting it at the specified point in the array, and returning the newly created array (note: NOT 'this' array) |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will insert a null value at specified position in this array. |
| public ObjectNode | Returns: Newly constructedObjectNode (note! NOT `this` ArrayNode)Method for creating an |
| public ArrayNode | Returns: This array node, to allow chainingMethod that will construct a POJONode and insert it at specified position in this array. |
| public ArrayNode | |
| public boolean | isArray()
Overrides tools. Implements tools. Method that returns true if this node is an Array node, false otherwise. |
| public boolean | isEmpty(SerializationContext serializers)
Overrides tools. Method that may be called on instance to determine if it is considered "empty" for purposes of serialization filtering or not. |
| public boolean | isEmpty()
Overrides tools. Convenience method that is functionally same as:
size() == 0
|
| public Optional | optional(int index)
Overrides tools. Method for accessing value of the specified element of
an array node, wrapped in an |
| public JsonNode | path(String propertyName)
Implements abstract tools. Implements tools. Method for accessing value of the specified property of an Object node. |
| public JsonNode | path(int index)
Implements abstract tools. Implements tools. Method for accessing value of the specified element of an array node. |
| public JsonNode | Returns: Node removed, if any; null if noneMethod for removing an entry from this ArrayNode. |
| public ArrayNode | Returns: This node (to allow chaining)Implements abstract tools. Method for removing all elements of this array, leaving the array empty. |
| public ArrayNode | removeIf(Predicate<? super JsonNode> predicate)
Implements abstract tools. Method for removing matching those children (value) nodes container has that match given predicate. |
| public JsonNode | |
| public JsonNode | required(int index)
Overrides tools. Method is functionally equivalent to
|
| public void | serialize(JsonGenerator g, SerializationContext provider)
Implements abstract tools. Implements tools. Method called to serialize node instances using given generator. |
| public void | serializeWithType(JsonGenerator g, SerializationContext ctxt, TypeSerializer typeSer)
Implements abstract tools. Implements tools. Type information is needed, even if JsonNode instances are "plain" JSON, since they may be mixed with other types. |
| public ArrayNode | |
| public ArrayNode | |
| public ArrayNode | |
| public ArrayNode | |
| public ArrayNode | |
| public ArrayNode | |
| public ArrayNode | |
| public ArrayNode | Returns: This node (to allow chaining)Method for setting value of a field to specified numeric value. |
| public ArrayNode | |
| public ArrayNode | Returns: This node (to allow chaining)Method for setting value of a field to specified numeric value. |
| public ArrayNode | |
| public ArrayNode | Returns: This node (to allow chaining)Method for setting value of a field to specified numeric value. |
| public ArrayNode | Returns: This node (to allow chaining)Method for setting value of a field to specified numeric value. |
| public ArrayNode | |
| public ArrayNode | Returns: This node (to allow chaining)Method for setting value of a field to specified String value. |
| public ArrayNode | |
| public ArrayNode | Returns: This node (to allow chaining)Method for setting value of a field to specified binary value |
| public ArrayNode | |
| public ArrayNode | |
| public ArrayNode | |
| public int | size()
Implements abstract tools. Implements tools. Method that returns number of child nodes this node contains: for Array nodes, number of child elements, for Object nodes, number of properties, and for all other nodes 0. |
| public Collection | values()
Overrides tools. Method for accessing all value nodes of this Node, iff this node is a JSON Array or Object node. |
| public Stream | valueStream()
Implements abstract tools. Returns a stream of all value nodes of this Node, iff
this node is an |