Class GsonUtils
java.lang.Object
uno.anahata.ai.internal.GsonUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.gson.GsongetGson()Gets the default, compact GSON instance.static StringprettyPrint(Object value) Pretty prints an object to a JSON string.
-
Constructor Details
-
GsonUtils
public GsonUtils()
-
-
Method Details
-
getGson
public static com.google.gson.Gson getGson()Gets the default, compact GSON instance.- Returns:
- The GSON instance.
-
prettyPrint
-
