Package de.saibotk.jmaw
Class Util
java.lang.Object
de.saibotk.jmaw.Util
Utility class holding static functions to recreate commonly used instances of
Gson
etc.- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.gson.Gson
getGson()
Returns aGson
instance, prepared with the required custom type adapters, to be used with the provided api models.
-
Method Details
-
getGson
public static com.google.gson.Gson getGson()Returns aGson
instance, prepared with the required custom type adapters, to be used with the provided api models.- Returns:
- a
Gson
instance. - Since:
- 1.0
-