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.GsongetGson()Returns aGsoninstance, 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 aGsoninstance, prepared with the required custom type adapters, to be used with the provided api models.- Returns:
- a
Gsoninstance. - Since:
- 1.0
-