Uses of Interface
com.fasterxml.jackson.core.TreeNode
Packages that use TreeNode
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances.Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
Utility classes used by Jackson Core functionality.
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.Contains concrete
JsonNode implementations
Jackson uses for the Tree model.Utility classes for Mapper package.
-
Uses of TreeNode in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core with type parameters of type TreeNodeModifier and TypeMethodDescriptionabstract <T extends TreeNode>
TObjectCodec.readTree(JsonParser p) Method for deserializing JSON content as tree expressed using set ofTreeNodeinstances.abstract <T extends TreeNode>
TTreeCodec.readTree(JsonParser p) <T extends TreeNode>
TJsonParser.readValueAsTree()Method to deserialize JSON content into equivalent "tree model", represented by rootTreeNodeof resulting model.Methods in com.fasterxml.jackson.core that return TreeNodeModifier and TypeMethodDescriptionTreeNode.at(JsonPointer ptr) Method for locating node specified by given JSON pointer instances.Convenience method that is functionally equivalent to:abstract TreeNodeObjectCodec.createArrayNode()Method for construct root level Array nodes for Tree Model instances.abstract TreeNodeTreeCodec.createArrayNode()abstract TreeNodeObjectCodec.createObjectNode()Method for construct root level Object nodes for Tree Model instances.abstract TreeNodeTreeCodec.createObjectNode()TreeNode.get(int index) Method for accessing value of the specified element of an array node.Method for accessing value of the specified field of an object node.TreeCodec.missingNode()TreeCodec.nullNode()TreeNode.path(int index) Method for accessing value of the specified element of an array node.Method for accessing value of the specified field of an object node.Methods in com.fasterxml.jackson.core with parameters of type TreeNodeModifier and TypeMethodDescriptionabstract JsonParserObjectCodec.treeAsTokens(TreeNode n) Method for constructing aJsonParserfor reading contents of a JSON tree, as if it was external serialized JSON content.abstract JsonParserTreeCodec.treeAsTokens(TreeNode node) abstract <T> TObjectCodec.treeToValue(TreeNode n, Class<T> valueType) Convenience method for converting given JSON tree into instance of specified value type.abstract voidMethod for writing given JSON tree (expressed as a tree where given JsonNode is the root) using this generator.abstract voidObjectCodec.writeTree(JsonGenerator gen, TreeNode tree) Method for serializing JSON content from given Tree instance, using specified generator.abstract voidTreeCodec.writeTree(JsonGenerator g, TreeNode tree) -
Uses of TreeNode in com.fasterxml.jackson.core.base
Methods in com.fasterxml.jackson.core.base with parameters of type TreeNode -
Uses of TreeNode in com.fasterxml.jackson.core.util
Methods in com.fasterxml.jackson.core.util with parameters of type TreeNode -
Uses of TreeNode in com.fasterxml.jackson.databind
Classes in com.fasterxml.jackson.databind that implement TreeNodeModifier and TypeClassDescriptionclassBase class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements.Methods in com.fasterxml.jackson.databind with type parameters of type TreeNodeModifier and TypeMethodDescription<T extends TreeNode>
TObjectMapper.readTree(JsonParser p) Method to deserialize JSON content as a treeJsonNode.<T extends TreeNode>
TObjectReader.readTree(JsonParser p) Convenience method that binds content read using given parser, using configuration of this reader, except that content is bound as JSON tree instead of configured root value type.Methods in com.fasterxml.jackson.databind with parameters of type TreeNodeModifier and TypeMethodDescriptionObjectMapper.treeAsTokens(TreeNode n) Method for constructing aJsonParserout of JSON tree representation.ObjectReader.treeAsTokens(TreeNode n) <T> TObjectMapper.treeToValue(TreeNode n, TypeReference<T> toValueTypeRef) Same asObjectMapper.treeToValue(TreeNode, JavaType)but target type specified using fully resolvedTypeReference.<T> TObjectMapper.treeToValue(TreeNode n, JavaType valueType) Same asObjectMapper.treeToValue(TreeNode, Class)but target type specified using fully resolvedJavaType.<T> TObjectMapper.treeToValue(TreeNode n, Class<T> valueType) Convenience conversion method that will bind data given JSON tree contains into specific value (usually bean) type.<T> TObjectReader.treeToValue(TreeNode n, JavaType valueType) Same asObjectReader.treeToValue(TreeNode, Class)but with type-resolved target value type.<T> TObjectReader.treeToValue(TreeNode n, Class<T> valueType) voidObjectMapper.writeTree(JsonGenerator g, TreeNode rootNode) voidObjectReader.writeTree(JsonGenerator g, TreeNode rootNode) -
Uses of TreeNode in com.fasterxml.jackson.databind.node
Classes in com.fasterxml.jackson.databind.node that implement TreeNodeModifier and TypeClassDescriptionclassNode class that represents Arrays mapped from JSON content.classAbstract base class common to all standardJsonNodeimplementations.classNumeric node that contains simple 64-bit integer values.classValue node that contains Base64 encoded binary value, which will be output and stored as Json String value.classThis concrete value class is used to contain boolean (true / false) values.classContainerNode<T extends ContainerNode<T>>This intermediate base class is used for all container nodes, specifically, array and object nodes.classNumeric node that contains values that do not fit in simple integer (int, long) or floating point (double) values.classNumeric node that contains 64-bit ("double precision") floating point values simple 32-bit integer values.classJsonNodeimplementation for efficiently containing 32-bit `float` values.classNumeric node that contains simple 32-bit integer values.classNumeric node that contains simple 64-bit integer values.final classThis singleton node class is generated to denote "missing nodes" along paths that do not exist.classThis singleton value class is used to contain explicit JSON null value.classIntermediate value node used for numeric nodes.classNode that maps to JSON Object structures in JSON content.classValue node that contains a wrapped POJO, to be serialized as a JSON constructed through data mapping (usually done by callingObjectMapper).classNumeric node that contains simple 16-bit integer values.classValue node that contains a text value.classThis intermediate base class is used for all leaf nodes, that is, all non-container (array or object) nodes, except for the "missing node". -
Uses of TreeNode in com.fasterxml.jackson.databind.util
Methods in com.fasterxml.jackson.databind.util with parameters of type TreeNode