Goto: 4C Home | 4C Docs | 4C External Libraries Home | FCJSon Home | FCJSon Function List ArrayGetArray()

ArrayGetArray()

Purpose:
FCJSon::ArrayGetArray() returns the jsonident of an array embedded in an array.
Usage:
jsonident1 = FCJSon::ArrayGetArray(<jsonident0>,<arrayidx> [, <key> ]);
Arguments:

integer <jsonident0> - A valid json object identifier.

integer <arrayidx> - The index into the array of the array object or the json object containing the array. Array indexes start at 0 and end at array length - 1.

alpha <key> - Optional. A key to an array object in the json object found at arrayidx in the original array. See long description for better clarification.
Returns:
>= 0 - A json identifier for the array.
< 0 - Error
Where Used:
FCJSon::ArrayGetArray() can be called from anywhere.
Example:
Example
Description:
FCJSon::ArrayGetArray() returns the jsonident of an array embedded in an array or embedded in an object that is an element of an array.
There are 2 scenarios where you will use a FCJSon::ArrayGetArray().
Bugs/Features/Comments:
See Also:
FCJSon Function List


Back to Top