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

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


Method put

JSONArray put(int i, mixed val)

Description

Put or replace a boolean value in the JSONArray.

Parameter i

The subscript. If the index is greater than the length of the JSONArray, then null elements will be added as necessary to pad it out.

Parameter val

An object value.

Returns

this (JSONArray)