Package com.google.api.client.json.gson
Class GsonFactory.Builder
java.lang.Object
com.google.api.client.json.gson.GsonFactory.Builder
- Enclosing class:
GsonFactory
Builder for GsonFactory.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds GsonFactory instance.setReadLeniency
(boolean readLeniency) Set totrue
when you want to the JSON parser to be lenient to reading JSON value.
-
Field Details
-
readLeniency
private boolean readLeniency
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
setReadLeniency
Set totrue
when you want to the JSON parser to be lenient to reading JSON value. By default, it isfalse
. -
build
Builds GsonFactory instance.
-