org.apache.shindig.common.util
Class JsonConversionUtil
java.lang.Object
org.apache.shindig.common.util.JsonConversionUtil
public final class JsonConversionUtil
- extends Object
Utilities for converting a JSON object to and from a URL encoding
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fromRequest
public static org.json.JSONObject fromRequest(javax.servlet.http.HttpServletRequest request)
throws org.json.JSONException
- Throws:
org.json.JSONException
fromJson
public static Map<String,String> fromJson(org.json.JSONObject obj)
throws org.json.JSONException
- Throws:
org.json.JSONException
isAllLiterals
public static boolean isAllLiterals(org.json.JSONArray jsonArr)
throws org.json.JSONException
- Throws:
org.json.JSONException
Copyright © 2007-2012. All Rights Reserved.