public final class JsonNodeParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JsonNodeParser.Builder
A builder for configuring and creating
JsonNodeParser . |
Modifier and Type | Field and Description |
---|---|
static software.amazon.awssdk.thirdparty.jackson.core.JsonFactory |
DEFAULT_JSON_FACTORY
The default
JsonFactory used for create() or if a factory is not configured via
JsonNodeParser.Builder.jsonFactory(JsonFactory) . |
Modifier and Type | Method and Description |
---|---|
static JsonNodeParser.Builder |
builder()
Create a parser using custom configuration.
|
static JsonNodeParser |
create()
Create a parser using the default configuration.
|
JsonNode |
parse(byte[] content)
Parse the provided
byte[] into a JsonNode . |
JsonNode |
parse(InputStream content)
Parse the provided
InputStream into a JsonNode . |
JsonNode |
parse(String content)
|
public static final software.amazon.awssdk.thirdparty.jackson.core.JsonFactory DEFAULT_JSON_FACTORY
JsonFactory
used for create()
or if a factory is not configured via
JsonNodeParser.Builder.jsonFactory(JsonFactory)
.public static JsonNodeParser create()
public static JsonNodeParser.Builder builder()
public JsonNode parse(InputStream content)
InputStream
into a JsonNode
.Copyright © 2023. All rights reserved.