1 Star 0 Fork 37

ookk / Exjson

forked from Josin / Exjson 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.c 410 Bytes
一键复制 编辑 原始数据 按行查看 历史
Josin 提交于 2019-05-10 08:47 . 修复数字不支持负数的bug
/**
* File:main.c for project exjson.
* Author: Josin
* Email: xeapplee@gmail.com
* Website: https://www.supjos.cn
*/
#include <stdio.h>
#include "exjson.h"
int main(int argc, char *argv[])
{
EXJSON *v = decode_json("{\"hello world\":-10 # hello world\n"
"}");
char *str = encode_json(v);
printf("%s", str);
free(str);
destroy_exjson(v);
return 0;
}
C
1
https://gitee.com/gay_hub/Exjson.git
git@gitee.com:gay_hub/Exjson.git
gay_hub
Exjson
Exjson
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891