| 51 | |
| 52 | /* The cJSON structure: */ |
| 53 | typedef struct cJSON |
| 54 | { |
| 55 | struct cJSON *next, *prev; /* next/prev allow you to walk array/object chains. Alternatively, use GetArraySize/GetArrayItem/GetObjectItem */ |
| 56 | struct cJSON *child; /* An array or object item will have a child pointer pointing to a chain of the items in the array/object. */ |
| 57 | |
| 58 | int type; /* The type of the item, as above. */ |
| 59 | |
| 60 | char *valuestring; /* The item's string, if type==cJSON_String */ |
| 61 | int64 valueint; /* The item's number, if type==cJSON_Number */ |
| 62 | double valuedouble; /* The item's number, if type==cJSON_Number */ |
| 63 | int sign; /* sign of valueint, 1(unsigned), -1(signed) */ |
| 64 | |
| 65 | char *string; /* The item's name string, if this item is the child of, or is in the list of subitems of an object. */ |
| 66 | } cJSON; |
| 67 | |
| 68 | typedef struct cJSON_Hooks |
| 69 | { |
nothing calls this directly
no outgoing calls
no test coverage detected