Write an unsigned 64 bit integer value.
MCO_RET mcorest_api_json_write_u64( mcorest_api_json_write_ctx_t *ctx, mco_uint8 u8 );
| ctx | Pointer to the JSON write context structure |
| u8 | Unsigned 64 bit integer value to write |
This function writes an unsigned 64 bit integer value.
| MCO_S_OK = 0 | Success |
| MCO_E_REST_* | Any of the Web Services Error Codes |
static void print_u64(mcorest_api_json_write_ctx_t *jctx,
mco_uint8 u8)
{
mcorest_api_json_write_object_begin(jctx);
mcorest_api_json_write_key(jctx, "u64_value");
mcorest_api_json_write_u64(jctx, u8);
...
mcorest_api_json_write_object_end(jctx);
...
}