End the string value.
MCO_RET mcorest_api_json_write_string_end( mcorest_api_json_write_ctx_t *ctx );
ctx
This function ends the string value by outputting the closing quote.
MCO_S_OK = 0
MCO_E_REST_*
static void print_string_parts(mcorest_api_json_write_ctx_t *jctx,
const char *part1, const char *part2)
{
mcorest_api_json_write_object_begin(jctx);
mcorest_api_json_write_key(jctx, "string_parts");
mcorest_api_json_write_string_begin(jctx);
mcorest_api_json_write_string_part(jctx, part1, strlen(part1));
mcorest_api_json_write_string_part(jctx, part2, strlen(part2));
mcorest_api_json_write_string_end(jctx);
...
mcorest_api_json_write_object_end(jctx);
...
}