org.apache.wicket.ajax.json
Class JsonUtils
java.lang.Object
org.apache.wicket.ajax.json.JsonUtils
public final class JsonUtils
- extends Object
- Since:
- 6.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
asArray
public static JSONArray asArray(Map<String,Object> map)
throws JSONException
- Converts a Map to JSONArray suitable for jQuery#param().
- Parameters:
map
- the map with key/value(s)
- Returns:
- a JSONArray that contains JSONObject's with name/value pairs
- Throws:
JSONException
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.