Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used 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.
|
Modifier and Type | Method and Description |
---|---|
abstract <T extends TreeNode> |
TreeCodec.readTree(JsonParser p) |
abstract <T extends TreeNode> |
ObjectCodec.readTree(JsonParser p)
Method to deserialize JSON content as tree expressed
using set of
TreeNode instances. |
<T extends TreeNode> |
JsonParser.readValueAsTree()
Method to deserialize JSON content into equivalent "tree model",
represented by root
TreeNode of resulting model. |
Modifier and Type | Method and Description |
---|---|
TreeNode |
TreeNode.at(JsonPointer ptr)
Method for locating node specified by given JSON pointer instances.
|
TreeNode |
TreeNode.at(String jsonPointerExpression)
Convenience method that is functionally equivalent to:
|
abstract TreeNode |
TreeCodec.createArrayNode() |
abstract TreeNode |
ObjectCodec.createArrayNode()
Method for construct root level Array nodes
for Tree Model instances.
|
abstract TreeNode |
TreeCodec.createObjectNode() |
abstract TreeNode |
ObjectCodec.createObjectNode()
Method for construct root level Object nodes
for Tree Model instances.
|
TreeNode |
TreeNode.get(int index)
Method for accessing value of the specified element of
an array node.
|
TreeNode |
TreeNode.get(String fieldName)
Method for accessing value of the specified field of
an object node.
|
TreeNode |
TreeNode.path(int index)
Method for accessing value of the specified element of
an array node.
|
TreeNode |
TreeNode.path(String fieldName)
Method for accessing value of the specified field of
an object node.
|
Modifier and Type | Method and Description |
---|---|
abstract JsonParser |
TreeCodec.treeAsTokens(TreeNode node) |
abstract JsonParser |
ObjectCodec.treeAsTokens(TreeNode n)
Method for constructing a
JsonParser for reading
contents of a JSON tree, as if it was external serialized
JSON content. |
abstract <T> T |
ObjectCodec.treeToValue(TreeNode n,
Class<T> valueType)
Convenience method for converting given JSON tree into instance of specified
value type.
|
abstract void |
TreeCodec.writeTree(JsonGenerator g,
TreeNode tree) |
abstract void |
ObjectCodec.writeTree(JsonGenerator gen,
TreeNode tree) |
abstract void |
JsonGenerator.writeTree(TreeNode rootNode)
Method for writing given JSON tree (expressed as a tree
where given JsonNode is the root) using this generator.
|
Modifier and Type | Method and Description |
---|---|
void |
GeneratorBase.writeTree(TreeNode rootNode) |
Modifier and Type | Method and Description |
---|---|
void |
JsonGeneratorDelegate.writeTree(TreeNode rootNode) |
Copyright © 2008-2016 FasterXML. All Rights Reserved.