org.onebusaway.webapp.gwt.common.rpc
Class JsonLibrary

java.lang.Object
  extended by org.onebusaway.webapp.gwt.common.rpc.JsonLibrary

public class JsonLibrary
extends Object


Constructor Summary
JsonLibrary()
           
 
Method Summary
static void getJson(String requestId, String url, JsonCallback handler, int timeout)
           
static com.google.gwt.json.client.JSONArray getJsonArray(com.google.gwt.json.client.JSONObject object, String key)
           
static Boolean getJsonBoolean(com.google.gwt.json.client.JSONObject object, String key)
           
static Double getJsonDouble(com.google.gwt.json.client.JSONObject object, String key)
           
static com.google.gwt.json.client.JSONObject getJsonObj(com.google.gwt.json.client.JSONObject object, String key)
           
static String getJsonString(com.google.gwt.json.client.JSONObject object, String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonLibrary

public JsonLibrary()
Method Detail

getJson

public static void getJson(String requestId,
                           String url,
                           JsonCallback handler,
                           int timeout)

getJsonDouble

public static Double getJsonDouble(com.google.gwt.json.client.JSONObject object,
                                   String key)

getJsonBoolean

public static Boolean getJsonBoolean(com.google.gwt.json.client.JSONObject object,
                                     String key)

getJsonString

public static String getJsonString(com.google.gwt.json.client.JSONObject object,
                                   String key)

getJsonObj

public static com.google.gwt.json.client.JSONObject getJsonObj(com.google.gwt.json.client.JSONObject object,
                                                               String key)

getJsonArray

public static com.google.gwt.json.client.JSONArray getJsonArray(com.google.gwt.json.client.JSONObject object,
                                                                String key)


Copyright © 2012 OneBusAway. All Rights Reserved.