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

ArrayAddBoolObject()

Purpose:
FCJSon::ArrayAddBoolObject() creates a new JSon object of <key>:<value> pairs, adds a boolean value to this object using <bkey> and adds this object to the end of an existing json array.
Usage:
rc = FCJSon::ArrayAddBoolObject(<jsonident>,<bkey>,<bval>);
Arguments:

integer <jsonident> - An ident to a json array object

alpha <bkey> - The key to use for <bval> in the new json object

integer <bval> - The value to assign to the boolean
Use 0 for false and 1 for true
Returns:
integer <rc>
0 - OK
-1 - Error
Where Used:
FCJSon::ArrayAddBoolObject() can be called anytime you have an ident to a json array object.
Example:
Example
Description:
FCJSon::ArrayAddBoolObject() creates a new JSon object of <key>:<value> pairs, adds a boolean value to this object using <bkey> and adds this object to the end of an existing json array.
Bugs/Features/Comments:
See Also:
FCJSon Function List


Back to Top