public final class JsonUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<Object> |
fromJson(org.json.JSONArray json) |
static Map<String,Object> |
fromJson(org.json.JSONObject json) |
static org.json.JSONArray |
toJson(List<Object> list) |
static org.json.JSONObject |
toJson(Map<String,Object> map) |
public static org.json.JSONObject toJson(Map<String,Object> map) throws org.json.JSONException
org.json.JSONException
public static org.json.JSONArray toJson(List<Object> list) throws org.json.JSONException
org.json.JSONException
public static Map<String,Object> fromJson(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException