public class JsonHelper extends Object
| Constructor and Description |
|---|
JsonHelper() |
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
safeGetBoolean(com.google.gwt.json.client.JSONObject json,
String property) |
static boolean |
safeGetBoolean(com.google.gwt.json.client.JSONObject json,
String property,
boolean dfl) |
static Integer |
safeGetInt(com.google.gwt.json.client.JSONObject json,
String property) |
static Long |
safeGetLong(com.google.gwt.json.client.JSONObject json,
String property) |
static com.google.gwt.json.client.JSONObject |
safeGetObject(com.google.gwt.json.client.JSONObject json,
String property) |
static String |
safeGetString(com.google.gwt.json.client.JSONObject json,
String property) |
static String |
safeGetString(com.google.gwt.json.client.JSONValue n) |
public static Long safeGetLong(com.google.gwt.json.client.JSONObject json, String property)
public static Integer safeGetInt(com.google.gwt.json.client.JSONObject json, String property)
public static Boolean safeGetBoolean(com.google.gwt.json.client.JSONObject json, String property)
public static boolean safeGetBoolean(com.google.gwt.json.client.JSONObject json,
String property,
boolean dfl)
public static com.google.gwt.json.client.JSONObject safeGetObject(com.google.gwt.json.client.JSONObject json,
String property)
public static String safeGetString(com.google.gwt.json.client.JSONObject json, String property)
public static String safeGetString(com.google.gwt.json.client.JSONValue n)
Copyright © 2018. All rights reserved.