Uses of Interface
com.fasterxml.jackson.core.TreeNode
-
Packages that use TreeNode Package Description com.fasterxml.jackson.core Main public API classes of the core streaming JSON processor: most importantlyJsonFactoryused for constructing JSON parser (JsonParser) and generator (JsonGenerator) instances.com.fasterxml.jackson.core.base Base classes used by concrete Parser and Generator implementations; contain functionality that is not specific to JSON or input abstraction (byte vs char).com.fasterxml.jackson.core.util Utility classes used by Jackson Core functionality.com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.node Contains concreteJsonNodeimplementations Jackson uses for the Tree model.com.fasterxml.jackson.databind.util Utility classes for Mapper package. -
-
Uses of TreeNode in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core with type parameters of type TreeNode Modifier and Type Method Description abstract <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 TreeNode Modifier and Type Method Description TreeNodeTreeNode. at(JsonPointer ptr)Method for locating node specified by given JSON pointer instances.TreeNodeTreeNode. at(String jsonPointerExpression)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()TreeNodeTreeNode. get(int index)Method for accessing value of the specified element of an array node.TreeNodeTreeNode. get(String fieldName)Method for accessing value of the specified field of an object node.TreeNodeTreeCodec. missingNode()TreeNodeTreeCodec. nullNode()TreeNodeTreeNode. path(int index)Method for accessing value of the specified element of an array node.TreeNodeTreeNode. path(String fieldName)Method for accessing value of the specified field of an object node.Methods in com.fasterxml.jackson.core with parameters of type TreeNode Modifier and Type Method Description abstract 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 voidJsonGenerator. writeTree(TreeNode rootNode)Method 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 Modifier and Type Method Description voidGeneratorBase. writeTree(TreeNode rootNode) -
Uses of TreeNode in com.fasterxml.jackson.core.util
Methods in com.fasterxml.jackson.core.util with parameters of type TreeNode Modifier and Type Method Description voidJsonGeneratorDelegate. writeTree(TreeNode tree) -
Uses of TreeNode in com.fasterxml.jackson.databind
Classes in com.fasterxml.jackson.databind that implement TreeNode Modifier and Type Class Description classJsonNodeBase 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 TreeNode Modifier and Type Method Description <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 TreeNode Modifier and Type Method Description JsonParserObjectMapper. treeAsTokens(TreeNode n)Method for constructing aJsonParserout of JSON tree representation.JsonParserObjectReader. treeAsTokens(TreeNode n)<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 TreeNode Modifier and Type Class Description classArrayNodeNode class that represents Arrays mapped from JSON content.classBaseJsonNodeAbstract base class common to all standardJsonNodeimplementations.classBigIntegerNodeNumeric node that contains simple 64-bit integer values.classBinaryNodeValue node that contains Base64 encoded binary value, which will be output and stored as Json String value.classBooleanNodeThis 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.classDecimalNodeNumeric node that contains values that do not fit in simple integer (int, long) or floating point (double) values.classDoubleNodeNumeric node that contains 64-bit ("double precision") floating point values simple 32-bit integer values.classFloatNodeJsonNodeimplementation for efficiently containing 32-bit `float` values.classIntNodeNumeric node that contains simple 32-bit integer values.classLongNodeNumeric node that contains simple 64-bit integer values.classMissingNodeThis singleton node class is generated to denote "missing nodes" along paths that do not exist.classNullNodeThis singleton value class is used to contain explicit JSON null value.classNumericNodeIntermediate value node used for numeric nodes.classObjectNodeNode that maps to JSON Object structures in JSON content.classPOJONodeValue node that contains a wrapped POJO, to be serialized as a JSON constructed through data mapping (usually done by callingObjectMapper).classShortNodeNumeric node that contains simple 16-bit integer values.classTextNodeValue node that contains a text value.classValueNodeThis 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 Modifier and Type Method Description voidTokenBuffer. writeTree(TreeNode node)
-