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

AddNullObject()

Purpose:
FCJSon::AddNullObject() creates a new json object, adds a null value using <key> to the new object and adds the new object to an existing json object of <key>:<value> pairs using <objkey>.
Usage:
rc = FCJSon::AddNullObject(<jsonident>,<objkey>,<key>);
Arguments:

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

alpha <objkey> - The key to use for the new object in the object being modified.

alpha <key> - The key to use for the null value in the new object.
Returns:
integer <rc>
0 - OK
-1 - Error
Where Used:
FCJSon::AddNullObject() can be called anytime you have a valid json ident to an object of <key>:<value> pairs.
Example:
Example
Description:
FCJSon::AddNullObject() creates a new json object, adds a null value using <key> to the new object and adds the new object to an existing json object of <key>:<value> pairs using <objkey>.
Bugs/Features/Comments:
See Also:
FCJSon Function List


Back to Top