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

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


Method opt

mixed opt(string key)

Description

Get an optional value associated with a key.

Parameter key

A key string

Returns

An object which is the value, or null if there is no value.