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. null is returned.
|
| 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. |
| public ArrayNode | deepCopy()
Implements abstract com. |
| public Iterator | elements()
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. Comparator object.
|
| public boolean | equals(Object
the reference object with which to compare. o)Implements abstract com. |
| public ObjectNode | findParent(String
Name of field to look for fieldName)Implements abstract com. |
| 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. |
| 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. |
| public JsonNode | get(String
Name of the field (of Object node) to access fieldName)Implements abstract com. Implements com. |
| public JsonNodeType | getNodeType()
Implements abstract com. |
| public int | hashCode()
Implements abstract com. |
| 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. |
| public boolean | isEmpty(SerializerProvider serializers)
Overrides com. |
| public boolean | isEmpty()
Overrides com.
size() == 0
|
| public JsonNode | path(String
Name of the field (of Object node) to access fieldName)Implements abstract com. Implements com. get(String), except
that instead of returning null if no such value exists (due
to this node not being an object, or object not having value
for the specified field),
a "missing node" (node that returns true for
isMissingNode) will be returned.
|
| public JsonNode | path(int
Index of the Array node element to access index)Implements abstract com. Implements com. get(int), except
that instead of returning null if no such element exists (due
to index being out of range, or this node not being an array),
a "missing node" (node that returns true for
isMissingNode) will be returned.
|
| 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. |
| public JsonNode | required(int
Index of the value of this Array node to access index)Overrides com. path(index).required()
and can be used to check that this node is an ArrayNode (that is, represents
JSON Array value) and has value for specified index
(but note that value may be explicit JSON null value).
|
| public void | serialize(JsonGenerator g, SerializerProvider provider)
Implements abstract com. Implements com. |
| public void | serializeWithType(JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer)
Implements abstract com. Implements com. |
| 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. |
| public ObjectNode | with(String exprOrProperty)
Overrides com.
Deprecated
Method that works in one of possible ways, depending on whether
exprOrProperty is a valid JsonPointer expression or
not (valid expression is either empty String "" or starts
with leading slash / character).
|
| 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. exprOrProperty is a valid JsonPointer expression or
not (valid expression is either empty String "" or starts
with leading slash / character).
|