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

ArrayPutNull()

Purpose:
FCJSon::ArrayPutNull() puts a null value at a specific index in a json array.
Usage:
rc = FCJSon::ArrayPutNull(<jsonident>,<arrayidx>);
Arguments:

integer <jsonident> - Ident of the array being modified

integer <arrayidx> - The index into the array to put the null value.
Returns:
integer <rc>
0 - OK
-1 - Error
Where Used:
FCJSon::ArrayPutNull() can be called anytime you have a valid ident to a json array.
Example:
Example
Description:
FCJSon::ArrayPutNull() puts a null value at a specific index in a json array. If an object already exists at <arrayidx> it is replaced. If necessary, the array will be extended with nulls so that it is at least <arrayidx> + 1 in length.
Bugs/Features/Comments:
See Also:
FCJSon Function List


Back to Top