## Uses of Class
com.fasterxml.jackson.databind.JsonNode

Packages that use JsonNode
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.deser: Contains implementation classes of deserialization part of data binding.
com.fasterxml.jackson.databind.deser.std: Contains public standard implementations of abstraction that Jackson uses.
com.fasterxml.jackson.databind.ext: Contains extended support for "external" packages: things that may or may not be present in runtime environment, but that are commonly enough used so that explicit support can be added.
com.fasterxml.jackson.databind.jsonschema: Classes needed for JSON schema support (currently just ability to generate schemas using serialization part of data mapping)
com.fasterxml.jackson.databind.module: Package that contains classes and interfaces to help implement custom extension `Module`s (which are registered using `ObjectMapper.registerModule(com.fasterxml.jackson.databind.Module)`.
com.fasterxml.jackson.databind.node: Contains concrete `com.fasterxml.jackson.core.JsonNode` implementations Jackson uses for the Tree model.
com.fasterxml.jackson.databind.ser.impl: Contains implementation classes of serialization part of data binding.
com.fasterxml.jackson.databind.ser.std

Uses of JsonNode in com.fasterxml.jackson.databind

Fields in com.fasterxml.jackson.databind with type parameters of type JsonNode
`protected static List<JsonNode>` `JsonNode.NO_NODES`

Methods in com.fasterxml.jackson.databind with type parameters of type JsonNode

`abstract

`<T extends JsonNode> T`

`

`JsonNode.deepCopy()`
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.

`

`<T extends JsonNode> T`

`

`ObjectMapper.valueToTree(Object fromValue)`
Reverse of `ObjectMapper.treeToValue(com.fasterxml.jackson.core.TreeNode, java.lang.Class<T>)`; given a value (usually bean), will construct equivalent JSON Tree representation.

Methods in com.fasterxml.jackson.databind that return JsonNode
`protected JsonNode` `ObjectReader._bindAndCloseAsTree(com.fasterxml.jackson.core.JsonParser jp)`
`protected JsonNode` `ObjectReader._bindAsTree(com.fasterxml.jackson.core.JsonParser jp)`
`JsonNode` `ObjectReader.createArrayNode()`
`JsonNode` `ObjectReader.createObjectNode()`
`abstract JsonNode` `JsonNode.findParent(String fieldName)` Method for finding a JSON Object that contains specified field, within this node or its descendants.
`abstract JsonNode` `JsonNode.findPath(String fieldName)` Method similar to `findValue(java.lang.String)`, but that will return a "missing node" instead of null if no field is found.
`abstract JsonNode` `JsonNode.findValue(String fieldName)` Method for finding a JSON Object field with specified name in this node or its child nodes, and returning value it has.
`JsonNode` `JsonNode.get(int index)` Method for accessing value of the specified element of an array node.
`JsonNode` `JsonNode.get(String fieldName)` Method for accessing value of the specified field of an object node.
`abstract JsonNode` `JsonNode.path(int index)` This method is similar to `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.
`abstract JsonNode` `JsonNode.path(String fieldName)` This method is similar to `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.
`JsonNode` `ObjectMapper.readTree(byte[] content)` Method to deserialize JSON content as tree expressed using set of `JsonNode` instances.
`JsonNode` `ObjectMapper.readTree(File file)` Method to deserialize JSON content as tree expressed using set of `JsonNode` instances.
`JsonNode` `ObjectReader.readTree(InputStream in)` Method that reads content from given input source, using configuration of this reader, and binds it as JSON Tree.
`JsonNode` `ObjectMapper.readTree(InputStream in)` Method to deserialize JSON content as tree expressed using set of `JsonNode` instances.
`JsonNode` `ObjectReader.readTree(Reader r)` Method that reads content from given input source, using configuration of this reader, and binds it as JSON Tree.
`JsonNode` `ObjectMapper.readTree(Reader r)` Method to deserialize JSON content as tree expressed using set of `JsonNode` instances.
`JsonNode` `ObjectReader.readTree(String content)` Method that reads content from given JSON input String, using configuration of this reader, and binds it as JSON Tree.
`JsonNode` `ObjectMapper.readTree(String content)` Method to deserialize JSON content as tree expressed using set of `JsonNode` instances.
`JsonNode` `ObjectMapper.readTree(URL source)` Method to deserialize JSON content as tree expressed using set of `JsonNode` instances.
`JsonNode` `JsonNode.with(String propertyName)` Method that can be called on Object nodes, to access a property that has Object value; or if no such property exists, to create, add and return such Object node.
`JsonNode` `JsonNode.withArray(String propertyName)` Method that can be called on Object nodes, to access a property that has `Array` value; or if no such property exists, to create, add and return such Array node.

Methods in com.fasterxml.jackson.databind that return types with arguments of type JsonNode
`Iterator<JsonNode>` `JsonNode.elements()` Method for accessing all value nodes of this Node, iff this node is a JSON Array or Object node.
`Iterator<Map.Entry<String,JsonNode>>` `JsonNode.fields()`
`List<JsonNode>` `JsonNode.findParents(String fieldName)` Method for finding a JSON Object that contains specified field, within this node or its descendants.
`abstract List<JsonNode>` `JsonNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `JsonNode.findValues(String fieldName)` Method for finding JSON Object fields with specified name, and returning found ones as a List.
`abstract List<JsonNode>` `JsonNode.findValues(String fieldName, List<JsonNode> foundSoFar)`
`Iterator<JsonNode>` `JsonNode.iterator()` Same as calling `elements()`; implemented so that convenience "for-each" loop can be used for looping over elements of JSON Array constructs.

Methods in com.fasterxml.jackson.databind with parameters of type JsonNode

`

`<T> T`

`

`ObjectReader.readValue(JsonNode src)`
Convenience method for converting results from given JSON tree into given value type.

`void` `ObjectMapper.writeTree(com.fasterxml.jackson.core.JsonGenerator jgen, JsonNode rootNode)` Method to serialize given JSON Tree, using generator provided.

Method parameters in com.fasterxml.jackson.databind with type arguments of type JsonNode
`abstract List<JsonNode>` `JsonNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`abstract List<JsonNode>` `JsonNode.findValues(String fieldName, List<JsonNode> foundSoFar)`

Uses of JsonNode in com.fasterxml.jackson.databind.deser

Method parameters in com.fasterxml.jackson.databind.deser with type arguments of type JsonNode
`protected JsonDeserializer<?>` `BasicDeserializerFactory._findCustomTreeNodeDeserializer(Class<? extends JsonNode> type, DeserializationConfig config, BeanDescription beanDesc)`
`JsonDeserializer<?>` `Deserializers.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType, DeserializationConfig config, BeanDescription beanDesc)` Method called to locate deserializer for specified JSON tree node type.
`JsonDeserializer<?>` `Deserializers.Base.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType, DeserializationConfig config, BeanDescription beanDesc)`

Uses of JsonNode in com.fasterxml.jackson.databind.deser.std

Methods in com.fasterxml.jackson.databind.deser.std that return JsonNode
`JsonNode` `JsonNodeDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp, DeserializationContext ctxt)` Implementation that will produce types of any JSON nodes; not just one deserializer is registered to handle (in case of more specialized handler).

Methods in com.fasterxml.jackson.databind.deser.std that return types with arguments of type JsonNode
`static JsonDeserializer<? extends JsonNode>` `JsonNodeDeserializer.getDeserializer(Class<?> nodeClass)` Factory method for accessing deserializer for specific node type

Uses of JsonNode in com.fasterxml.jackson.databind.ext

Methods in com.fasterxml.jackson.databind.ext that return JsonNode
`JsonNode` `DOMSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `CoreXMLSerializers.XMLGregorianCalendarSerializer.getSchema(SerializerProvider provider, Type typeHint)`

Uses of JsonNode in com.fasterxml.jackson.databind.jsonschema

Methods in com.fasterxml.jackson.databind.jsonschema that return JsonNode
`static JsonNode` `JsonSchema.getDefaultSchemaNode()` Get the default schema node.
`JsonNode` `SchemaAware.getSchema(SerializerProvider provider, Type typeHint)` Get the representation of the schema to which this serializer will conform.

Uses of JsonNode in com.fasterxml.jackson.databind.module

Method parameters in com.fasterxml.jackson.databind.module with type arguments of type JsonNode
`JsonDeserializer<?>` `SimpleDeserializers.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType, DeserializationConfig config, BeanDescription beanDesc)`

Uses of JsonNode in com.fasterxml.jackson.databind.node

Subclasses of JsonNode in com.fasterxml.jackson.databind.node
`class` `ArrayNode` Node class that represents Arrays mapped from Json content.
`class` `BaseJsonNode` Abstract base class common to all standard `JsonNode` implementations.
`class` `BigIntegerNode` Numeric node that contains simple 64-bit integer values.
`class` `BinaryNode` Value node that contains Base64 encoded binary value, which will be output and stored as Json String value.
`class` `BooleanNode` This concrete value class is used to contain boolean (true / false) values.
`class` `ContainerNode<T extends ContainerNode<T>>` This intermediate base class is used for all container nodes, specifically, array and object nodes.
`class` `DecimalNode` Numeric node that contains values that do not fit in simple integer (int, long) or floating point (double) values.
`class` `DoubleNode` Numeric node that contains 64-bit ("double precision") floating point values simple 32-bit integer values.
`class` `IntNode` Numeric node that contains simple 32-bit integer values.
`class` `LongNode` Numeric node that contains simple 64-bit integer values.
`class` `MissingNode` This singleton node class is generated to denote "missing nodes" along paths that do not exist.
`class` `NullNode` This singleton value class is used to contain explicit JSON null value.
`class` `NumericNode` Intermediate value node used for numeric nodes.
`class` `ObjectNode` Node that maps to JSON Object structures in JSON content.
`class` `POJONode` Value node that contains a wrapped POJO, to be serialized as a JSON constructed through data mapping (usually done by calling `ObjectMapper`).
`class` `TextNode` Value node that contains a text value.
`class` `ValueNode` This intermediate base class is used for all leaf nodes, that is, all non-container (array or object) nodes, except for the "missing node".

Fields in com.fasterxml.jackson.databind.node with type parameters of type JsonNode
`protected LinkedHashMap<String,JsonNode>` `ObjectNode._children`
`protected ArrayList<JsonNode>` `ArrayNode._children`

Methods in com.fasterxml.jackson.databind.node with type parameters of type JsonNode

`

`<T extends JsonNode> T`

`

`ValueNode.deepCopy()`
All current value nodes are immutable, so we can just return them as is.

`

`<T extends JsonNode> T`

`

`MissingNode.deepCopy()`

Methods in com.fasterxml.jackson.databind.node that return JsonNode
`JsonNode` `ArrayNode._set(int index, JsonNode value)`
`protected JsonNode` `TreeTraversingParser.currentNode()`
`protected JsonNode` `TreeTraversingParser.currentNumericNode()`
`JsonNode` `BaseJsonNode.findPath(String fieldName)`
`JsonNode` `ObjectNode.findValue(String fieldName)`
`abstract JsonNode` `ContainerNode.findValue(String fieldName)`
`JsonNode` `BaseJsonNode.findValue(String fieldName)`
`JsonNode` `ArrayNode.findValue(String fieldName)`
`JsonNode` `ObjectNode.get(int index)`
`abstract JsonNode` `ContainerNode.get(int index)`
`JsonNode` `ArrayNode.get(int index)`
`JsonNode` `ObjectNode.get(String fieldName)`
`abstract JsonNode` `ContainerNode.get(String fieldName)`
`JsonNode` `ArrayNode.get(String fieldName)`
`JsonNode` `ContainerNode.NoNodesIterator.next()`
`JsonNode` `ValueNode.path(int index)`
`JsonNode` `ObjectNode.path(int index)`
`JsonNode` `MissingNode.path(int index)`
`JsonNode` `ArrayNode.path(int index)`
`JsonNode` `ValueNode.path(String fieldName)`
`JsonNode` `ObjectNode.path(String fieldName)`
`JsonNode` `MissingNode.path(String fieldName)`
`JsonNode` `ArrayNode.path(String fieldName)`
`JsonNode` `ObjectNode.put(String fieldName, JsonNode value)` Method that will set specified field, replacing old value, if any.
`JsonNode` `ObjectNode.putAll(Map<String,JsonNode> properties)` Method for adding given properties to this object node, overriding any existing values for those properties.
`JsonNode` `ObjectNode.putAll(ObjectNode other)` Method for adding all properties of the given Object, overriding any existing values for those properties.
`JsonNode` `ArrayNode.remove(int index)` Method for removing an entry from this ArrayNode.
`JsonNode` `ObjectNode.remove(String fieldName)` Method for removing field entry from this ObjectNode.
`JsonNode` `ArrayNode.set(int index, JsonNode value)` Method that will set specified field, replacing old value, if any.

Methods in com.fasterxml.jackson.databind.node that return types with arguments of type JsonNode
`Iterator<JsonNode>` `ObjectNode.elements()`
`Iterator<JsonNode>` `ArrayNode.elements()`
`Iterator<Map.Entry<String,JsonNode>>` `ObjectNode.fields()` Method to use for accessing all fields (with both names and values) of this JSON Object.
`List<JsonNode>` `ObjectNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`abstract List<JsonNode>` `ContainerNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `BaseJsonNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `ArrayNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `ObjectNode.findValues(String fieldName, List<JsonNode> foundSoFar)`
`abstract List<JsonNode>` `ContainerNode.findValues(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `BaseJsonNode.findValues(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `ArrayNode.findValues(String fieldName, List<JsonNode> foundSoFar)`
`Map.Entry<String,JsonNode>` `ObjectNode.NoFieldsIterator.next()`

Methods in com.fasterxml.jackson.databind.node with parameters of type JsonNode
`JsonNode` `ArrayNode._set(int index, JsonNode value)`
`ArrayNode` `ArrayNode.add(JsonNode value)` Method for adding specified node at the end of this array.
`ArrayNode` `ArrayNode.insert(int index, JsonNode value)` Method for inserting specified child node as an element of this Array.
`JsonNode` `ObjectNode.put(String fieldName, JsonNode value)` Method that will set specified field, replacing old value, if any.
`JsonNode` `ArrayNode.set(int index, JsonNode value)` Method that will set specified field, replacing old value, if any.

Method parameters in com.fasterxml.jackson.databind.node with type arguments of type JsonNode
`ArrayNode` `ArrayNode.addAll(Collection<JsonNode> nodes)` Method for adding given nodes as child nodes of this array node.
`protected void` `ArrayNode.addContentsTo(List<JsonNode> dst)`
`List<JsonNode>` `ObjectNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`abstract List<JsonNode>` `ContainerNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `BaseJsonNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `ArrayNode.findParents(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `ObjectNode.findValues(String fieldName, List<JsonNode> foundSoFar)`
`abstract List<JsonNode>` `ContainerNode.findValues(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `BaseJsonNode.findValues(String fieldName, List<JsonNode> foundSoFar)`
`List<JsonNode>` `ArrayNode.findValues(String fieldName, List<JsonNode> foundSoFar)`
`JsonNode` `ObjectNode.putAll(Map<String,JsonNode> properties)` Method for adding given properties to this object node, overriding any existing values for those properties.
`protected void` `ObjectNode.putContentsTo(Map<String,JsonNode> dst)`

Constructors in com.fasterxml.jackson.databind.node with parameters of type JsonNode
`TreeTraversingParser(JsonNode n)`
`TreeTraversingParser(JsonNode n, com.fasterxml.jackson.core.ObjectCodec codec)`

Constructor parameters in com.fasterxml.jackson.databind.node with type arguments of type JsonNode
`ArrayNode(JsonNodeFactory nc, ArrayList<JsonNode> children)`
`ObjectNode(JsonNodeFactory nc, LinkedHashMap<String,JsonNode> children)`

Uses of JsonNode in com.fasterxml.jackson.databind.ser.impl

Methods in com.fasterxml.jackson.databind.ser.impl that return JsonNode
`protected JsonNode` `StringCollectionSerializer.contentSchema()`
`protected JsonNode` `IndexedStringListSerializer.contentSchema()`
`JsonNode` `UnknownSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StringArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `FailingSerializer.getSchema(SerializerProvider provider, Type typeHint)`

Uses of JsonNode in com.fasterxml.jackson.databind.ser.std

Methods in com.fasterxml.jackson.databind.ser.std that return JsonNode
`protected abstract JsonNode` `StaticListSerializerBase.contentSchema()`
`JsonNode` `ToStringSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `TokenBufferSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StringSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdSerializer.getSchema(SerializerProvider provider, Type typeHint)` Default implementation simply claims type is "string"; usually overriden by custom serializers.
`JsonNode` `StdScalarSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdKeySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdJdkSerializers.AtomicBooleanSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdJdkSerializers.AtomicIntegerSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdJdkSerializers.AtomicLongSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdJdkSerializers.AtomicReferenceSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdJdkSerializers.FileSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdJdkSerializers.ClassSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdArraySerializers.BooleanArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdArraySerializers.ByteArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdArraySerializers.ShortArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdArraySerializers.CharArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdArraySerializers.IntArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdArraySerializers.LongArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdArraySerializers.FloatArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StdArraySerializers.DoubleArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `StaticListSerializerBase.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `SqlTimeSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `SqlDateSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `SerializableSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `RawSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `ObjectArraySerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `NumberSerializers.IntegerSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `NumberSerializers.IntLikeSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `NumberSerializers.LongSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `NumberSerializers.FloatSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `NumberSerializers.DoubleSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `NumberSerializers.NumberSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `NullSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `MapSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `JsonValueSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `EnumSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `EnumMapSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `DateTimeSerializerBase.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `BooleanSerializer.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `BeanSerializerBase.getSchema(SerializerProvider provider, Type typeHint)`
`JsonNode` `AsArraySerializerBase.getSchema(SerializerProvider provider, Type typeHint)`

Copyright © 2012 fasterxml.com. All Rights Reserved.