public class JsonUtil extends Object
| Constructor and Description |
|---|
JsonUtil() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.gson.Gson |
buildGson()
Returns a default gson.
|
static DateFormat |
getDateFormat() |
com.google.gson.Gson |
getDefaultGson() |
com.google.gson.Gson |
getGsonWithExclusionStrategyForEntities() |
com.google.gson.Gson |
getGsonWithInterfaceAdapterFor(Type typeOfClass,
Object adapter) |
static DateFormat |
getShortDateFormat() |
public static DateFormat getDateFormat()
public static DateFormat getShortDateFormat()
public com.google.gson.Gson getDefaultGson()
public com.google.gson.Gson getGsonWithExclusionStrategyForEntities()
public com.google.gson.Gson getGsonWithInterfaceAdapterFor(Type typeOfClass, Object adapter)
public static com.google.gson.Gson buildGson()
Copyright © 2024 Notima System Integration AB. All rights reserved.