Goto:
4C Home
|
4C Docs
|
4C External Libraries Home
|
FCJSon Home
|
FCJSon Function List
CreateObject()
CreateObject()
Purpose:
-
FCJSon::CreateObject() creates a new FCJSon object that
will hold <key>:<value> pairs
Usage:
-
-
<jsonident> = FCJSon::CreateObject();
Arguments:
-
None
Returns:
-
integer <jsonident>
>= 0 - A json ident that can be used in other FCJSon functions
Where Used:
-
FCJSon::CreateObject() can be called from anywhere.
Example:
-
Example
Description:
-
FCJSon::CreateObject() creates a new FCJSon object that
will hold <key>:<value> pairs.
It returns an ident that is used in many different FCJSon functions.
Initially this object will be empty and it will not be embedded in any
other objects.
You can add this object to another JSon object of <key>:<value> pairs
using FCJSon::AddObject().
You can add it to a json array using FCJSon::ArrayAddObject() or
FCJSon::ArrayPutObject().
You can <key>:<value> pairs to this object by calling one of the
FCJSon::Add...() functions.
Bugs/Features/Comments:
-
See Also:
-
FCJSon Function List
Back to Top