public static final class JsonNodeParser.Builder extends Object
JsonNodeParser
. Created via JsonNodeParser.builder()
.Modifier and Type | Method and Description |
---|---|
JsonNodeParser |
build()
Build a
JsonNodeParser based on the current configuration of this builder. |
JsonNodeParser.Builder |
jsonFactory(software.amazon.awssdk.thirdparty.jackson.core.JsonFactory jsonFactory)
The
JsonFactory implementation to be used when parsing the input. |
JsonNodeParser.Builder |
removeErrorLocations(boolean removeErrorLocations)
Whether error locations should be removed if parsing fails.
|
public JsonNodeParser.Builder removeErrorLocations(boolean removeErrorLocations)
By default, this is false.
public JsonNodeParser.Builder jsonFactory(software.amazon.awssdk.thirdparty.jackson.core.JsonFactory jsonFactory)
JsonFactory
implementation to be used when parsing the input. This allows JSON extensions like CBOR or
Ion to be supported.
It's highly recommended us use a shared JsonFactory
where possible, so they should be stored statically:
http://wiki.fasterxml.com/JacksonBestPracticesPerformance
By default, this is JsonNodeParser.DEFAULT_JSON_FACTORY
.
public JsonNodeParser build()
JsonNodeParser
based on the current configuration of this builder.Copyright © 2021. All rights reserved.