{
"key1" : <value1>,
"key2" : <value2>,
...
"keyN" : <valueN>
}
Items in a json object can be different data types.
[1, { "key1" : <somevalue>, "key2" : <anotherval> }, null, null, "hello", 2.2]
Notice that items in an array do not each need to be the same data type.
{
"key1" : <value1>,
"key2" : <value2>,
...
"keyN" : <valueN>
}
If the ident refers to an object or sub object that only has the form
<value>, the <key> argument is not used.
The way you end up with an object that has the simple form of <value> only
is by making a call similar to:
ident1 = FCJSon::GetObject(ident0,"key1");
jsonident1 = FCJSon::CreateInt(<ival>); FCJSon::AddObject(jsonident0,<key1>,jsonident1);
FCJSon::AddIntObject(jsonident0,<objkey>,<intkey>,<ival>);