Extracted at 2014-06-26.
pike.ida.liu.se
[Top]
Tools
Tools.JSON
Tools.JSON.JSONObject

Method Tools.JSON.JSONObject()->optJSONArray()


Method optJSONArray

JSONArray optJSONArray(string key)

Description

Get an optional JSONArray associated with a key. It returns null if there is no such key, or if its value is not a JSONArray

Parameter key

A key string

Returns

A JSONArray which is the value