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

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


Method optJSONObject

JSONObject optJSONObject(string key)

Description

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

Parameter key

A key string.

Returns

A JSONObject which is the value