Note
class was final temporarily for Jackson 2.2.
| 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
Path expression to use ptr)Implements abstract com. 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 ArrayNode | _withArray(JsonPointer origPtr, JsonPointer currentPtr, JsonNode.
Overrides com.
|
| protected ArrayNode | |
| protected ObjectNode | _withObject(JsonPointer origPtr, JsonPointer currentPtr, JsonNode.
Implements abstract com.
|
| 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 com. Implements com. Method that can be used for efficient type detection when using stream abstraction for traversing nodes. |
| public ArrayNode | deepCopy()
Implements abstract com. 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 Iterator | elements()
Overrides com. Method for accessing all value nodes of this Node, iff this node is a JSON Array or Object node. |
| public boolean | equals(Comparator<JsonNode>
Object called to compare two scalar comparator, JsonNode o)JsonNode
instances, and return either 0 (are equals) or non-zero (not equal)Overrides com. Entry method for invoking customizable comparison, using passed-in
|
| public boolean | equals(Object
the reference object with which to compare. o)Implements abstract com. Equality for node objects is defined as full (deep) value equality. |
| public ObjectNode | findParent(String
Name of field to look for fieldName)Implements abstract com. Method for finding a JSON Object that contains specified field, within this node or its descendants. |
| public List | findParents(String fieldName, List<JsonNode> foundSoFar)
Implements abstract com.
|
| public JsonNode | findValue(String
Name of field to look for fieldName)Implements abstract com. 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 fieldName, List<JsonNode> foundSoFar)
Implements abstract com.
|
| public List | findValuesAsText(String fieldName, List<String> foundSoFar)
Implements abstract com.
|
| public JsonNode | get(int
Index of the Array node element to access index)Implements abstract com. Implements com. Method for accessing value of the specified element of an array node. |
| public JsonNode | get(String
Name of the field (of Object node) to access fieldName)Implements abstract com. Implements com. Method for accessing value of the specified field of an object node. |
| public JsonNodeType | getNodeType()
Implements abstract com. Return the type of this node |
| public int | hashCode()
Implements abstract com. 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 com. Implements com. Method that returns true if this node is an Array node, false otherwise. |
| public boolean | isEmpty(SerializerProvider serializers)
Overrides com. 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 com. Convenience method that is functionally same as:
size() == 0
|
| public JsonNode | path(String
Name of the field (of Object node) to access fieldName)Implements abstract com. Implements com. This method is similar to |
| public JsonNode | path(int
Index of the Array node element to access index)Implements abstract com. Implements com. This method is similar to |
| 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 com. Method for removing all elements of this array, leaving the array empty. |
| public JsonNode | required(int
Index of the value of this Array node to access index)Overrides com. Method is functionally equivalent to
|
| public void | serialize(JsonGenerator g, SerializerProvider provider)
Implements abstract com. Implements com. Method called to serialize node instances using given generator. |
| public void | serializeWithType(JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer)
Implements abstract com. Implements com. Type information is needed, even if JsonNode instances are "plain" JSON, since they may be mixed with other types. |
| public JsonNode | |
| 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 com. Implements com. Method that returns number of child nodes this node contains: for Array nodes, number of child elements, for Object nodes, number of fields, and for all other nodes 0. |
| public ObjectNode | with(String exprOrProperty)
Overrides com.
Deprecated
Method that works in one of possible ways, depending on whether
|
| public ArrayNode | withArray(String
Either exprOrProperty)JsonPointer expression for full access (if valid
pointer expression), or the name of property for the ArrayNode.Overrides com. Method that works in one of possible ways, depending on whether
|