public abstract class TreeCodec extends 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 jp) |
abstract JsonParser |
treeAsTokens(TreeNode node) |
abstract void |
writeTree(JsonGenerator jg,
TreeNode tree) |
public abstract <T extends TreeNode> T readTree(JsonParser jp) throws IOException, JsonProcessingException
IOException
JsonProcessingException
public abstract void writeTree(JsonGenerator jg, TreeNode tree) throws IOException, JsonProcessingException
IOException
JsonProcessingException
public abstract TreeNode createArrayNode()
public abstract TreeNode createObjectNode()
public abstract JsonParser treeAsTokens(TreeNode node)
Copyright © 2008-2016 FasterXML. All Rights Reserved.