Package de.dytanic.cloudnet.common.gson
Class GsonUtil
- java.lang.Object
-
- de.dytanic.cloudnet.common.gson.GsonUtil
-
public final class GsonUtil extends java.lang.ObjectIncludes a Gson object as member, which should protect for multiple creation of Gson instances- See Also:
Gson
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.gson.GsonGSONThe Gson constant instance, which should use as a new Gson object instance The following attributes has with GsonBuilder.
-
-
-
Field Detail
-
GSON
public static final com.google.gson.Gson GSON
The Gson constant instance, which should use as a new Gson object instance The following attributes has with GsonBuilder.The serializer has no pretty printing. You can use new JsonDocument(obj).toPrettyJson(); als alternative
- See Also:
Gson,serializeNulls disableHtmlEscaping
-
-