摘要: json对象有七种类型: /* supported object types */ typedef enum json_type { /* If you change this, be sure to update json_type_to_name() too */ json_type_null, 阅读全文
posted @ 2021-04-24 20:16 hustluotao 阅读(803) 评论(0) 推荐(0) 编辑
摘要: json对象类型: /* supported object types */ typedef enum json_type { /* If you change this, be sure to update json_type_to_name() too */ json_type_null, js 阅读全文
posted @ 2021-04-24 20:14 hustluotao 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 最近由于工作中用到了json-c,所以想仔细了解一下json-c的实现。 最开始下载了json-c-0.15源码,发现使用cmake在ubuntu14.04下编译时出现了一系列的问题,加上本身对cmake不是很了解,因此,下载了json-c-0.13.1的源码进行阅读和实验。 首先,在github上 阅读全文
posted @ 2021-04-24 20:12 hustluotao 阅读(1506) 评论(0) 推荐(0) 编辑