1 Star 0 Fork 43

Bunny Blue/libjson

forked from 风尘叹/libjson 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libjson.h 683 Bytes
一键复制 编辑 原始数据 按行查看 历史
风尘叹 提交于 2015-05-08 17:18 +08:00 . Change: 初始化代码
/*
* File: libjson.h
* Author: Fcten
*
* Created on 2015年5月6日, 上午10:24
*/
#ifndef __LIBJSON_H__
#define __LIBJSON_H__
#ifdef __cplusplus
extern "C" {
#endif
#ifndef NULL
#define NULL 0
#endif
typedef struct json_str_s {
unsigned int len;
char * str;
struct json_str_s * parent;
} json_str_t;
typedef struct {
char * err_msg;
unsigned int count;
unsigned int status;
char * str;
unsigned int len;
void (*callback)( json_str_t *path, json_str_t *value );
} json_task;
int json_parser( json_task *task );
void json_err_psotion( json_task *task, int *line, int *row );
#ifdef __cplusplus
}
#endif
#endif /* __LIBJSON_H__ */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tib/libjson.git
git@gitee.com:tib/libjson.git
tib
libjson
libjson
master

搜索帮助