public final class SerializationUtil extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static double | V1_DEFAULT_API_VERSION | 
| Constructor and Description | 
|---|
| SerializationUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static com.google.gson.GsonBuilder | getBaseGsonBuider() | 
| static com.google.gson.Gson | getGson(Double version,
       boolean withSecurityChars)Gets a gson instance with type adapters registered for our models. | 
public static final double V1_DEFAULT_API_VERSION
public static com.google.gson.GsonBuilder getBaseGsonBuider()
public static com.google.gson.Gson getGson(Double version, boolean withSecurityChars)
version - the version to use. If null, versions on model are ignored.withSecurityChars - whether to generate json with security chars.GsonCopyright © 2020 iland Internet Solutions, Corp. All rights reserved.