Initializes a new JSON object and returns the opening brace.
Takes no parameters.
Returns string "{" via ReturnString helper.
JSON
Parameters & Returns
Parameters
This function takes no parameters.
Returns
String
Quick Summary
Initializes a new JSON object and returns the opening brace.
Takes no parameters.
Returns string "{" via ReturnString helper.
Technical Exegesis...
Initializes a new JSON object and returns the opening brace. Returns string "{" via ReturnString helper. Stored in g_jsonStringPool rotating buffer (100 slots).
This function begins JSON serialization. Returns opening brace for JSON object. Use as starting point for building JSON documents. ReturnString stores result in global pool indexed by g_jsonStringPoolIndex (rotates 0-99 to prevent memory leaks). Common pattern: json = jsonBegin(), json = jsonWriteInt(json, "key", value), json = jsonEnd(json).
Initializes a new JSON object and returns the opening brace. Returns string "{" via ReturnString helper. Stored in g_jsonStringPool rotating buffer (100 slots).
This function begins JSON serialization. Returns opening brace for JSON object. Use as starting point for building JSON documents. ReturnString stores result in global pool indexed by g_jsonStringPoolIndex (rotates 0-99 to prevent memory leaks). Common pattern: json = jsonBegin(), json = jsonWriteInt(json, "key", value), json = jsonEnd(json). Result must be passed to subsequent jsonWrite* calls. Does not allocate dynamic memory directly - uses static pool. Pool rotation means old strings are overwritten after 100 calls - don't store more than 100 JSON fragments simultaneously.