Class JsonObjectParser.Builder (1.43.0)

public static class JsonObjectParser.Builder

Builder.

Implementation is not thread-safe.

Inheritance

java.lang.Object > JsonObjectParser.Builder

Constructors

Builder(JsonFactory jsonFactory)

public Builder(JsonFactory jsonFactory)
Parameter
NameDescription
jsonFactoryJsonFactory

JSON factory

Methods

build()

public JsonObjectParser build()

Returns a new instance of a JSON object parser.

Returns
TypeDescription
JsonObjectParser

getJsonFactory()

public final JsonFactory getJsonFactory()

Returns the JSON factory.

Returns
TypeDescription
JsonFactory

getWrapperKeys()

public final Collection<String> getWrapperKeys()

Returns the wrapper keys for the JSON content.

Returns
TypeDescription
Collection<String>

setWrapperKeys(Collection<String> wrapperKeys)

public JsonObjectParser.Builder setWrapperKeys(Collection<String> wrapperKeys)

Sets the wrapper keys for the JSON content.

Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.

Parameter
NameDescription
wrapperKeysCollection<String>
Returns
TypeDescription
JsonObjectParser.Builder