Interface NodeReader
- All Known Implementing Classes:
BasicNodeReader,DefaultNodeReader
public interface NodeReader
Reader for reading content to
JsonNode.-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultNodeReader.Builderbuilder()Creates a builder forNodeReader.com.fasterxml.jackson.databind.JsonNodereadTree(InputStream content, InputFormat inputFormat) Deserialize content as a tree.com.fasterxml.jackson.databind.JsonNodereadTree(String content, InputFormat inputFormat) Deserialize content as a tree.
-
Method Details
-
readTree
com.fasterxml.jackson.databind.JsonNode readTree(String content, InputFormat inputFormat) throws IOException Deserialize content as a tree.- Parameters:
content- the contentinputFormat- the input format- Returns:
- the node
- Throws:
IOException- IOException
-
readTree
com.fasterxml.jackson.databind.JsonNode readTree(InputStream content, InputFormat inputFormat) throws IOException Deserialize content as a tree.- Parameters:
content- input streaminputFormat- input format- Returns:
- the node
- Throws:
IOException- IOException
-
builder
Creates a builder forNodeReader.- Returns:
- the builder
-