java.lang.Object
org.apache.wicket.ajax.json.JsonUtils
- Since:
- 6.0.0
-
Method Summary
-
Method Details
-
asArray
public static com.github.openjson.JSONArray asArray(Map<String, Object> map) throws com.github.openjson.JSONExceptionConverts 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:
com.github.openjson.JSONException
-