Class JsonObjectParser.Builder (1.45.2)

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
Name Description
jsonFactory JsonFactory

JSON factory

Methods

build()

public JsonObjectParser build()

Returns a new instance of a JSON object parser.

Returns
Type Description
JsonObjectParser

getJsonFactory()

public final JsonFactory getJsonFactory()

Returns the JSON factory.

Returns
Type Description
JsonFactory

getWrapperKeys()

public final Collection<String> getWrapperKeys()

Returns the wrapper keys for the JSON content.

Returns
Type Description
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
Name Description
wrapperKeys Collection<String>
Returns
Type Description
JsonObjectParser.Builder