public abstract class TreeCodec
extends java.lang.Object
TreeNode
instances using Streaming API.Constructor and Description |
---|
TreeCodec() |
Modifier and Type | Method and Description |
---|---|
abstract TreeNode |
createArrayNode() |
abstract TreeNode |
createObjectNode() |
abstract <T extends TreeNode> |
readTree(JsonParser p) |
abstract JsonParser |
treeAsTokens(TreeNode node) |
abstract void |
writeTree(JsonGenerator g,
TreeNode tree) |
public abstract <T extends TreeNode> T readTree(JsonParser p) throws java.io.IOException, JsonProcessingException
java.io.IOException
JsonProcessingException
public abstract void writeTree(JsonGenerator g, TreeNode tree) throws java.io.IOException, JsonProcessingException
java.io.IOException
JsonProcessingException
public abstract TreeNode createArrayNode()
public abstract TreeNode createObjectNode()
public abstract JsonParser treeAsTokens(TreeNode node)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"