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

DeleteObject()

Purpose:
FCJSon::DeleteObject() deletes an object by key from it's parent.
Usage:
rc = FCJSon::DeleteObject(<jsonident>,<key>);
Arguments:

integer <jsonident> - the jsonident of the parent object

alpha <key> - the key to delete from the parent object
Returns:
integer <rc>
0 - OK
-1 - Error
Where Used:
FCJSon::DeleteObject() can be called anytime that you have a valid jsonident of <key>:<value> pairs.
Example:
Example
Description:
FCJSon::DeleteObject() deletes an object by key from it's parent. It is not an error if <key> does not exist in the object.
Bugs/Features/Comments:
See Also:
FCJSon Function List


Back to Top