Package | Description |
---|---|
com.fasterxml.jackson.databind |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
com.fasterxml.jackson.databind.node |
Contains concrete
JsonNode implementations
Jackson uses for the Tree model. |
Modifier and Type | Method and Description |
---|---|
ArrayNode |
ObjectMapper.createArrayNode()
Note: return type is co-variant, as basic ObjectCodec
abstraction can not refer to concrete node types (as it's
part of core package, whereas impls are part of mapper
package)
|
Modifier and Type | Method and Description |
---|---|
protected ArrayNode |
ArrayNode._add(JsonNode node) |
protected ArrayNode |
ArrayNode._insert(int index,
JsonNode node) |
ArrayNode |
ArrayNode.add(BigDecimal v)
Method for adding specified number at the end of this array.
|
ArrayNode |
ArrayNode.add(boolean v)
Method for adding specified boolean value at the end of this array.
|
ArrayNode |
ArrayNode.add(Boolean value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.add(byte[] v)
Method for adding specified binary value at the end of this array
(note: when serializing as JSON, will be output Base64 encoded)
|
ArrayNode |
ArrayNode.add(double v)
Method for adding specified number at the end of this array.
|
ArrayNode |
ArrayNode.add(Double value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.add(float v)
Method for adding specified number at the end of this array.
|
ArrayNode |
ArrayNode.add(Float value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.add(int v)
Method for adding specified number at the end of this array.
|
ArrayNode |
ArrayNode.add(Integer value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.add(JsonNode value)
Method for adding specified node at the end of this array.
|
ArrayNode |
ArrayNode.add(long v)
Method for adding specified number at the end of this array.
|
ArrayNode |
ArrayNode.add(Long value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.add(String v)
Method for adding specified String value at the end of this array.
|
ArrayNode |
ArrayNode.addAll(ArrayNode other)
Method for adding all child nodes of given Array, appending to
child nodes this array contains
|
ArrayNode |
ArrayNode.addAll(Collection<? extends JsonNode> nodes)
Method for adding given nodes as child nodes of this array node.
|
ArrayNode |
ArrayNode.addArray()
Method that will construct an ArrayNode and add it as a
field of this ObjectNode, replacing old value, if any.
|
ArrayNode |
ArrayNode.addNull()
Method that will add a null value at the end of this array node.
|
ArrayNode |
ArrayNode.addPOJO(Object value)
Method that will construct a POJONode and add it at the end
of this array node.
|
ArrayNode |
JsonNodeFactory.arrayNode()
Factory method for constructing an empty JSON Array node
|
ArrayNode |
JsonNodeCreator.arrayNode() |
ArrayNode |
ContainerNode.arrayNode()
Factory method that constructs and returns an empty
ArrayNode
Construction is done using registered JsonNodeFactory . |
ArrayNode |
ArrayNode.deepCopy() |
ArrayNode |
ArrayNode.insert(int index,
BigDecimal v)
Method that will insert specified numeric value
at specified position in this array.
|
ArrayNode |
ArrayNode.insert(int index,
boolean v)
Method that will insert specified String
at specified position in this array.
|
ArrayNode |
ArrayNode.insert(int index,
Boolean value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.insert(int index,
byte[] v)
Method that will insert specified binary value
at specified position in this array
(note: when written as JSON, will be Base64 encoded)
|
ArrayNode |
ArrayNode.insert(int index,
double v)
Method that will insert specified numeric value
at specified position in this array.
|
ArrayNode |
ArrayNode.insert(int index,
Double value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.insert(int index,
float v)
Method that will insert specified numeric value
at specified position in this array.
|
ArrayNode |
ArrayNode.insert(int index,
Float value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.insert(int index,
int v)
Method that will insert specified numeric value
at specified position in this array.
|
ArrayNode |
ArrayNode.insert(int index,
Integer value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.insert(int index,
JsonNode value)
Method for inserting specified child node as an element
of this Array.
|
ArrayNode |
ArrayNode.insert(int index,
long v)
Method that will insert specified numeric value
at specified position in this array.
|
ArrayNode |
ArrayNode.insert(int index,
Long value)
Alternative method that we need to avoid bumping into NPE issues
with auto-unboxing.
|
ArrayNode |
ArrayNode.insert(int index,
String v)
Method that will insert specified String
at specified position in this array.
|
ArrayNode |
ArrayNode.insertArray(int index)
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)
|
ArrayNode |
ArrayNode.insertNull(int index)
Method that will insert a null value
at specified position in this array.
|
ArrayNode |
ArrayNode.insertPOJO(int index,
Object value)
Method that will construct a POJONode and
insert it at specified position in this array.
|
ArrayNode |
ObjectNode.putArray(String fieldName)
Method that will construct an ArrayNode and add it as a
field of this ObjectNode, replacing old value, if any.
|
ArrayNode |
ArrayNode.removeAll()
Method for removing all elements of this array, leaving the
array empty.
|
ArrayNode |
ObjectNode.withArray(String propertyName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
ArrayNode._childrenEqual(ArrayNode other) |
ArrayNode |
ArrayNode.addAll(ArrayNode other)
Method for adding all child nodes of given Array, appending to
child nodes this array contains
|
Copyright © 2014-2015 FasterXML. All Rights Reserved.