mcorest_api_json_read_*
以下列出了用于从 Web 服务调用方读取 JSON 数据的函数。请使用链接查看详细说明和示例:
函数 | 说明 |
---|---|
mcorest_api_json_read_start() | 开始从流中读取JSON数据 |
mcorest_api_json_read_finish() | 完成从流读取JSON数据 |
mcorest_api_json_read_next_token() | 检索JSON流中下一个标记的类型 |
mcorest_api_json_read_object_begin() | 开始读取JSON对象 |
mcorest_api_json_read_object_end() | 完成读取JSON对象 |
mcorest_api_json_read_array_begin() | 开始读取JSON数组 |
mcorest_api_json_read_array_end() | 完成读取JSON数组 |
mcorest_api_json_read_string() | 从输入流中读取带引号的字符串 |
mcorest_api_json_read_numeric() | 从输入流中以字符串形式读取数值 |
mcorest_api_json_numeric_is_integer() | 返回非零值str包含一个整数。 |
mcorest_api_json_numeric_as_long() | 将数字JSON值转换为long |
mcorest_api_json_numeric_as_i64() | 将数字JSON值转换为64位整数 |
mcorest_api_json_numeric_as_double() | 将数值JSON值转换为double |
mcorest_api_json_read_long() | 读取一个数字JSON值并将其转换为long |
mcorest_api_json_read_i64() | 读取一个数字JSON值并将其转换为64位整数 |
mcorest_api_json_read_double() | 读取一个数字JSON值并将其转换为double |