public static class JsonObjectParser.Builder
Builder.
Implementation is not thread-safe.
Constructors
Builder(JsonFactory jsonFactory)
public Builder(JsonFactory jsonFactory)
Name | Description |
jsonFactory | JsonFactory JSON factory |
Methods
build()
public JsonObjectParser build()
Returns a new instance of a JSON object parser.
Type | Description |
JsonObjectParser |
getJsonFactory()
public final JsonFactory getJsonFactory()
Returns the JSON factory.
Type | Description |
JsonFactory |
getWrapperKeys()
public final Collection<String> getWrapperKeys()
Returns the wrapper keys for the JSON content.
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.
Name | Description |
wrapperKeys | Collection<String> |
Type | Description |
JsonObjectParser.Builder |