public class JsonHelper
extends java.lang.Object
| Constructor and Description |
|---|
JsonHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBoolean(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
boolean def) |
static char |
getCharacter(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
char def) |
static java.awt.Color |
getColor(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
java.awt.Color def) |
static java.awt.Color |
getColor(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
java.lang.String def) |
static double |
getDouble(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
double def) |
static float |
getFloat(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
float def) |
static int |
getInteger(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
int def) |
static long |
getLong(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
long def) |
static short |
getShort(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
short def) |
static java.lang.String |
getString(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
java.lang.String def) |
public static boolean getBoolean(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
boolean def)
public static java.lang.String getString(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
java.lang.String def)
public static char getCharacter(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
char def)
public static int getInteger(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
int def)
public static short getShort(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
short def)
public static long getLong(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
long def)
public static double getDouble(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
double def)
public static float getFloat(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
float def)
public static java.awt.Color getColor(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
java.awt.Color def)
public static java.awt.Color getColor(com.google.gson.JsonElement jsonElement,
java.lang.String memberName,
java.lang.String def)