mcorest_api_json_write_*
以下列出了用于将 JSON 数据写入 Web 服务调用方所使用的函数。请使用链接查看详细说明和示例:
函数 | 说明 |
---|---|
mcorest_api_json_write_start() | 开始将JSON写入请求的响应流 |
mcorest_api_json_write_finish() | 完成将JSON数据写入流 |
mcorest_api_json_write_key() | 写一个JSON键 |
mcorest_api_json_write_object_begin() | 启动一个JSON对象 |
mcorest_api_json_write_object_end() | 结束JSON对象 |
mcorest_api_json_write_array_begin() | 启动一个JSON数组 |
mcorest_api_json_write_array_end() | 结束JSON数组 |
mcorest_api_json_write_bool() | 写一个布尔值 |
mcorest_api_json_write_long() | 写一个长整数值 |
mcorest_api_json_write_ulong() | 写一个无符号长整数值 |
mcorest_api_json_write_i64() | 写入64位整数值 |
mcorest_api_json_write_u64() | 写一个64位无符号整数值 |
mcorest_api_json_write_double() | 编写一个浮点值 |
mcorest_api_json_write_string_begin() | 开始写一个字符串值 |
mcorest_api_json_write_string_part() | 写一个字符串值的片段 |
mcorest_api_json_write_string_end() | 结束字符串值 |
mcorest_api_json_write_string() | 写一个字符串 |
mcorest_api_json_write_null() | 写一个空 |
mcorest_api_json_write_hex_string_part() | 写入二进制数据的十六进制表示的一个片段 |
mcorest_api_json_write_hex_string() | 写入二进制数据转换为十六进制字符串表示 |