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

GetArray()

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

integer <jsonident0> - A valid json object identifier.

alpha <key> - Optional. The key to the array object in the json object identified by jsonident0.
Returns:
>= 0 - A json identifier for the array.
< 0 - Error
Where Used:
FCJSon::GetArray() can be called from anywhere.
Example:
Example
Description:
FCJSon::GetArray() returns the jsonident of an array embedded in an FCJSon object.
You will normally use FCJSon::GetArray() when you want to extract an array from a JSon object that is made up of <key>:<value> pairs. In this case it is necessary to use the optional "<key>" argument to get the array.
Bugs/Features/Comments:
See Also:
FCJSon Function List


Back to Top