APISonar


com.github.ltsopensource.core.json.JSON.toJSONArray

> com > github > ltsopensource > core > json > JSON > toJSONArray
com APIs github APIs ltsopensource APIs core APIs json APIs JSON APIs toJSONArray APIs

Example 1
public JSONArray getJSONArray(String key) {
        Object value = map.get(key);

        if (value instanceof JSONArray) {
            return (JSONArray) value;
        }

        return JSON.toJSONArray(value);
    }