Start a JSON object.
MCO_RET mcorest_api_json_write_object_begin( mcorest_api_json_write_ctx_t *ctx );
| ctx | Pointer to the JSON write context structure |
This function starts a JSON object, outputting the opening brace.
| MCO_S_OK = 0 | Success |
| MCO_E_REST_* | Any of the Web Services Error Codes |
static void print_json_object(mcorest_api_json_write_ctx_t *jctx )
{
mcorest_api_json_write_object_begin(jctx);
...
mcorest_api_json_write_object_end(jctx);
...
}