Lines Matching refs:cJSON

43 typedef struct cJSON {  struct
44 …struct cJSON *next,*prev; /* next/prev allow you to walk array/object chains. Alternatively, use G… argument
45 …struct cJSON *child; /* An array or object item will have a child pointer pointing to a chain of … argument
54 } cJSON; typedef
66 extern cJSON *cJSON_Parse(const char *value);
68 extern char *cJSON_Print(cJSON *item);
70 extern char *cJSON_PrintUnformatted(cJSON *item);
72 extern void cJSON_Delete(cJSON *c);
75 extern int cJSON_GetArraySize(cJSON *array);
77 extern cJSON *cJSON_GetArrayItem(cJSON *array,int item);
79 extern cJSON *cJSON_GetObjectItem(cJSON *object,const char *string);
85 extern cJSON *cJSON_CreateNull(void);
86 extern cJSON *cJSON_CreateTrue(void);
87 extern cJSON *cJSON_CreateFalse(void);
88 extern cJSON *cJSON_CreateBool(int b);
89 extern cJSON *cJSON_CreateNumber(double num);
90 extern cJSON *cJSON_CreateString(const char *string);
91 extern cJSON *cJSON_CreateArray(void);
92 extern cJSON *cJSON_CreateObject(void);
95 extern cJSON *cJSON_CreateIntArray(const int *numbers,int count);
96 extern cJSON *cJSON_CreateFloatArray(const float *numbers,int count);
97 extern cJSON *cJSON_CreateDoubleArray(const double *numbers,int count);
98 extern cJSON *cJSON_CreateStringArray(const char **strings,int count);
101 extern void cJSON_AddItemToArray(cJSON *array, cJSON *item);
102 extern void cJSON_AddItemToObject(cJSON *object,const char *string,cJSON *item);
104 extern void cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item);
105 extern void cJSON_AddItemReferenceToObject(cJSON *object,const char *string,cJSON *item);
108 extern cJSON *cJSON_DetachItemFromArray(cJSON *array,int which);
109 extern void cJSON_DeleteItemFromArray(cJSON *array,int which);
110 extern cJSON *cJSON_DetachItemFromObject(cJSON *object,const char *string);
111 extern void cJSON_DeleteItemFromObject(cJSON *object,const char *string);
114 extern void cJSON_ReplaceItemInArray(cJSON *array,int which,cJSON *newitem);
115 extern void cJSON_ReplaceItemInObject(cJSON *object,const char *string,cJSON *newitem);
118 extern cJSON *cJSON_Duplicate(cJSON *item,int recurse);
124 extern cJSON *cJSON_ParseWithOpts(const char *value,const char **return_parse_end,int require_null_…