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

AddArray()

Purpose:
FCJSon::AddArray() adds an array object using a <key> to an FCJSon object of <key>:<value> pairs.
Usage:
rc = FCJSon::AddArray(<jsonident>,<key>,<arrayident>);
Arguments:

integer <jsonident> - The ident of the object being modified

alpha <key> - Key to use for the array object being added.

integer <arrayident> - The jsonident of the array object.
Returns:
integer <rc>
0 - OK
-1 - Error
Where Used:
FCJSon::AddArray() can be called anytime you have a jsonident to an object with <key>:<value> pairs and an array ident.
Example:
Example
Description:
FCJSon::AddArray() adds an array object using a <key> to an FCJSon object of <key>:<value> pairs.
Bugs/Features/Comments:
See Also:
FCJSon Function List


Back to Top