Modifier and Type | Class and Description |
---|---|
static interface |
JsonUtils.JSONHandler |
Modifier and Type | Method and Description |
---|---|
static void |
dispatchJSON(com.google.gwt.core.client.JavaScriptObject jsonObj,
JsonUtils.JSONHandler handler) |
static com.google.gwt.json.client.JSONObject |
getArray(com.google.gwt.json.client.JSONValue json,
int i) |
static int |
getArraySize(com.google.gwt.json.client.JSONValue array) |
static Double |
getAsDouble(com.google.gwt.json.client.JSONValue jsonValue) |
static String |
getAsString(com.google.gwt.json.client.JSONValue jsonValue) |
static Boolean |
getBoolean(com.google.gwt.json.client.JSONObject json,
String field) |
static Date |
getDate(com.google.gwt.json.client.JSONObject json,
String field) |
static Double |
getDouble(com.google.gwt.json.client.JSONObject json,
String field) |
static Integer |
getInteger(com.google.gwt.json.client.JSONObject json,
String field) |
static String |
getString(com.google.gwt.json.client.JSONObject json,
String field) |
static void |
makeJSONRequest(int requestId,
String url,
JsonUtils.JSONHandler handler) |
static Date |
parseDateTime(String dateTime) |
static void |
requestJson(String url,
JsonUtils.JSONHandler handler) |
public static void requestJson(String url, JsonUtils.JSONHandler handler)
public static void makeJSONRequest(int requestId, String url, JsonUtils.JSONHandler handler)
public static void dispatchJSON(com.google.gwt.core.client.JavaScriptObject jsonObj, JsonUtils.JSONHandler handler)
public static Boolean getBoolean(com.google.gwt.json.client.JSONObject json, String field)
public static Integer getInteger(com.google.gwt.json.client.JSONObject json, String field)
public static com.google.gwt.json.client.JSONObject getArray(com.google.gwt.json.client.JSONValue json, int i)
public static int getArraySize(com.google.gwt.json.client.JSONValue array)
public static String getAsString(com.google.gwt.json.client.JSONValue jsonValue)
public static Double getAsDouble(com.google.gwt.json.client.JSONValue jsonValue)
public static Date parseDateTime(String dateTime)
Copyright © 2009-2012 SonarSource. All Rights Reserved.