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 p) |
abstract JsonParser |
treeAsTokens(TreeNode node) |
abstract void |
writeTree(JsonGenerator g,
TreeNode tree) |
public abstract <T extends TreeNode> T readTree(JsonParser p) throws IOException, JsonProcessingException
IOException
JsonProcessingException
public abstract void writeTree(JsonGenerator g, TreeNode tree) throws IOException, JsonProcessingException
IOException
JsonProcessingException
public abstract TreeNode createArrayNode()
public abstract TreeNode createObjectNode()
public abstract JsonParser treeAsTokens(TreeNode node)
Copyright © 2008–2017 FasterXML. All rights reserved.