Goto:
4C Home
|
4C Docs
|
4C External Libraries Home
|
FCJSon Home
|
FCJSon Function List
AddStringObject()
AddStringObject()
Purpose:
-
FCJSon::AddStringObject() creates a new json object, adds an alpha value
using <akey> to the new object and adds the new object to an existing
json object of <key>:<value> pairs using <objkey>.
Usage:
-
-
rc = FCJSon::AddStringObject(<jsonident>,<objkey>,<akey>,<aval>);
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 <akey> - The key to use for the alpha value in the new object.
-
alpha <aval> - The value to assign to the string in the new object.
Returns:
-
integer <rc>
0 - OK
-1 - Error
Where Used:
-
FCJSon::AddStringObject() can be called anytime you have a valid json ident to
an object of <key>:<value> pairs.
Example:
-
Example
Description:
-
FCJSon::AddStringObject() creates a new json object, adds an alpha value
using <akey> 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