Goto:
4C Home
|
4C Docs
|
4C External Libraries Home
|
FCJSon Home
|
FCJSon Function List
AddBool()
AddBool()
Purpose:
-
FCJSon::AddBool() adds a boolean <key>:<value> pair to a json object.
Usage:
-
-
rc = FCJSon::AddBool(<jsonident>,<bkey>,<bval>);
Arguments:
-
integer <jsonident> - The ident of the object being modified
-
alpha <bkey> - The key to use for the boolean value
-
integer <bval> - The value to assign to the boolean.
O for false, 1 for true
Returns:
-
integer <rc>
0 - OK
-1 - Error
Where Used:
-
FCJSon::AddBool() can be called anytime you have a valid json ident to
an object of <key>:<value> pairs.
Example:
-
Example
Description:
-
FCJSon::AddBool() adds a boolean <key>:<value> pair to a json object.
Bugs/Features/Comments:
-
See Also:
-
FCJSon Function List
Back to Top