Package com.google.api.client.json
Class JsonObjectParser.Builder
java.lang.Object
com.google.api.client.json.JsonObjectParser.Builder
- Enclosing class:
JsonObjectParser
Builder.
Implementation is not thread-safe.
- Since:
- 1.14
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final JsonFactory
JSON factory.(package private) Collection
<String> Wrapper keys for the JSON content or empty for none. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a new instance of a JSON object parser.final JsonFactory
Returns the JSON factory.final Collection
<String> Returns the wrapper keys for the JSON content.setWrapperKeys
(Collection<String> wrapperKeys) Sets the wrapper keys for the JSON content.
-
Field Details
-
jsonFactory
JSON factory. -
wrapperKeys
Collection<String> wrapperKeysWrapper keys for the JSON content or empty for none.
-
-
Constructor Details
-
Builder
- Parameters:
jsonFactory
- JSON factory
-
-
Method Details
-
build
Returns a new instance of a JSON object parser. -
getJsonFactory
Returns the JSON factory. -
getWrapperKeys
Returns the wrapper keys for the JSON content. -
setWrapperKeys
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.
-