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

Method Tools.JSON.JSONArray()->optString()


Method optString

string optString(int i, string|void defaultValue)

Description

Get the optional string associated with an index. The defaultValue is returned if the key is not found.

Parameter i

index subscript

Parameter defaultValue

The default value

Returns

A string value