|
Lite³
A JSON-Compatible Zero-Copy Serialization Format
|
Object / array initialization. More...
Functions | |
| static int | lite3_ctx_init_obj (lite3_ctx *ctx) |
| Initialize a Lite³ context as an object. | |
| static int | lite3_ctx_init_arr (lite3_ctx *ctx) |
| Initialize a Lite³ context as an array. | |
Object / array initialization.
The JSON standard requires that the root-level type always be an 'object' or 'array'. This also applies to Lite³.
Before data can be inserted into an empty buffer, it must first be initialized as object or array.
|
inlinestatic |
Initialize a Lite³ context as an array.
Definition at line 287 of file lite3_context_api.h.
|
inlinestatic |
Initialize a Lite³ context as an object.
Definition at line 273 of file lite3_context_api.h.