public static class JsonObjectParser.Builder extends Object
Implementation is not thread-safe.
Constructor and Description |
---|
Builder(JsonFactory jsonFactory) |
Modifier and Type | Method and Description |
---|---|
JsonObjectParser |
build()
Returns a new instance of a JSON object parser.
|
JsonFactory |
getJsonFactory()
Returns the JSON factory.
|
Collection<String> |
getWrapperKeys()
Returns the wrapper keys for the JSON content.
|
JsonObjectParser.Builder |
setWrapperKeys(Collection<String> wrapperKeys)
Sets the wrapper keys for the JSON content.
|
public Builder(JsonFactory jsonFactory)
jsonFactory
- JSON factorypublic JsonObjectParser build()
public final JsonFactory getJsonFactory()
public final Collection<String> getWrapperKeys()
public JsonObjectParser.Builder setWrapperKeys(Collection<String> wrapperKeys)
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
Copyright © 2011–2022 Google. All rights reserved.