Interface JsonNodeReader
-
- All Known Implementing Classes:
DefaultJsonNodeReader
public interface JsonNodeReader
Reader for reading content toJsonNode
.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static DefaultJsonNodeReader.Builder
builder()
Creates a builder forJsonNodeReader
.com.fasterxml.jackson.databind.JsonNode
readTree(InputStream content, InputFormat inputFormat)
Deserialize content as a tree.com.fasterxml.jackson.databind.JsonNode
readTree(String content, InputFormat inputFormat)
Deserialize content as a tree.
-
-
-
Method Detail
-
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
static DefaultJsonNodeReader.Builder builder()
Creates a builder forJsonNodeReader
.- Returns:
- the builder
-
-