ESP8266 Centre + NB
结构体 | 宏定义 | 函数
esp8266_centre_NB/include/json/jsonparse.h 文件参考
#include "c_types.h"
#include "json/json.h"
esp8266_centre_NB/include/json/jsonparse.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  jsonparse_state
 

宏定义

#define JSONPARSE_MAX_DEPTH   10
 

函数

void jsonparse_setup (struct jsonparse_state *state, const char *json, int len)
 Initialize a JSON parser state. 更多...
 
int jsonparse_next (struct jsonparse_state *state)
 
int jsonparse_copy_value (struct jsonparse_state *state, char *buf, int buf_size)
 
int jsonparse_get_value_as_int (struct jsonparse_state *state)
 
long jsonparse_get_value_as_long (struct jsonparse_state *state)
 
unsigned long jsonparse_get_value_as_ulong (struct jsonparse_state *state)
 
int jsonparse_get_len (struct jsonparse_state *state)
 
int jsonparse_get_type (struct jsonparse_state *state)
 
int jsonparse_strcmp_value (struct jsonparse_state *state, const char *str)
 

宏定义说明

#define JSONPARSE_MAX_DEPTH   10

函数说明

void jsonparse_setup ( struct jsonparse_state state,
const char *  json,
int  len 
)

Initialize a JSON parser state.

参数
stateA pointer to a JSON parser state
jsonThe string to parse as JSON
lenThe length of the string to parse
        This function initializes a JSON parser state for
        parsing a string as JSON.
int jsonparse_next ( struct jsonparse_state state)
int jsonparse_copy_value ( struct jsonparse_state state,
char *  buf,
int  buf_size 
)
int jsonparse_get_value_as_int ( struct jsonparse_state state)
long jsonparse_get_value_as_long ( struct jsonparse_state state)
unsigned long jsonparse_get_value_as_ulong ( struct jsonparse_state state)
int jsonparse_get_len ( struct jsonparse_state state)
int jsonparse_get_type ( struct jsonparse_state state)
int jsonparse_strcmp_value ( struct jsonparse_state state,
const char *  str 
)