Class GsonProvider
java.lang.Object
eu.cloudnetservice.driver.impl.document.gson.GsonProvider
A holder for the different gson instances that are used internally.
- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final com.google.gson.GsonThe default gson instance.(package private) static final com.google.gson.GsonGson instance based on the normal instance but with pretty printing enabled. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NORMAL_GSON_INSTANCE
static final com.google.gson.Gson NORMAL_GSON_INSTANCEThe default gson instance. This instance has all the base configuration done in order to be used for other, delegate gson instances. -
PRETTY_PRINTING_GSON_INSTANCE
static final com.google.gson.Gson PRETTY_PRINTING_GSON_INSTANCEGson instance based on the normal instance but with pretty printing enabled.
-
-
Constructor Details
-
GsonProvider
private GsonProvider()
-