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

AddObject()

Purpose:
FCJSon::AddObject() adds an object <key>:<value> pair to a json object.
Usage:
rc = FCJSon::AddObject(<jsonident0>,<key>,<jsonident1>);
Arguments:

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

alpha <key> - The key to use for the object being added

integer <jsonident1> - The json identifier of the object being added.
Returns:
integer <rc>
0 - OK
-1 - Error
Where Used:
FCJSon::AddObject() can be called anytime you have a valid json ident to an object of <key>:<value> pairs.
Example:
Example
Description:
FCJSon::AddObject() adds an object <key>:<value> pair to a json object.
Bugs/Features/Comments:
See Also:
FCJSon Function List


Back to Top