Top Description Constructors Methods
com.fasterxml.jackson.core

public abstract Class TreeCodec

extends Object
Class Inheritance
Known Direct Subclasses
com.fasterxml.jackson.core.ObjectCodec
Imports
java.io.IOException

Interface that defines objects that can read and write TreeNode instances using Streaming API.
Since
2.3

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract TreeNode
public abstract TreeNode
public TreeNode

Returns:

Node that represents "missing" node during traversal: something referenced but that does not exist in content model
missingNode
()

public TreeNode

Returns:

Node that represents explicit null value in content
nullNode
()

public abstract <T extends TreeNode> T
public abstract JsonParser
public abstract void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TreeCodecback to summary
public TreeCodec()

Method Detail

createArrayNodeback to summary
public abstract TreeNode createArrayNode()
createObjectNodeback to summary
public abstract TreeNode createObjectNode()
missingNodeback to summary
public TreeNode missingNode()
Returns:TreeNode

Node that represents "missing" node during traversal: something referenced but that does not exist in content model

Since
2.10
nullNodeback to summary
public TreeNode nullNode()
Returns:TreeNode

Node that represents explicit null value in content

Since
2.10
readTreeback to summary
public abstract <T extends TreeNode> T readTree(JsonParser p) throws IOException, JsonProcessingException
treeAsTokensback to summary
public abstract JsonParser treeAsTokens(TreeNode node)
writeTreeback to summary
public abstract void writeTree(JsonGenerator g, TreeNode tree) throws IOException, JsonProcessingException