Class JsonNodeParser.Builder
java.lang.Object
software.amazon.awssdk.protocols.jsoncore.JsonNodeParser.Builder
- Enclosing class:
 JsonNodeParser
A builder for configuring and creating 
JsonNodeParser. Created via JsonNodeParser.builder().- 
Method Summary
Modifier and TypeMethodDescriptionbuild()Build aJsonNodeParserbased on the current configuration of this builder.jsonFactory(software.amazon.awssdk.thirdparty.jackson.core.JsonFactory jsonFactory) TheJsonFactoryimplementation to be used when parsing the input.removeErrorLocations(boolean removeErrorLocations) Whether error locations should be removed if parsing fails. 
- 
Method Details
- 
removeErrorLocations
Whether error locations should be removed if parsing fails. This prevents the content of the JSON from appearing in error messages. This is useful when the content of the JSON may be sensitive and not want to be logged.By default, this is false.
 - 
jsonFactory
public JsonNodeParser.Builder jsonFactory(software.amazon.awssdk.thirdparty.jackson.core.JsonFactory jsonFactory) TheJsonFactoryimplementation 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
JsonFactorywhere possible, so they should be stored statically: http://wiki.fasterxml.com/JacksonBestPracticesPerformanceBy default, this is
JsonNodeParser.DEFAULT_JSON_FACTORY. - 
build
Build aJsonNodeParserbased on the current configuration of this builder. 
 -