| 101 | |
| 102 | /* The cJSON structure: */ |
| 103 | typedef struct cJSON |
| 104 | { |
| 105 | /* next/prev allow you to walk array/object chains. Alternatively, use GetArraySize/GetArrayItem/GetObjectItem */ |
| 106 | struct cJSON *next; |
| 107 | struct cJSON *prev; |
| 108 | /* An array or object item will have a child pointer pointing to a chain of the items in the array/object. */ |
| 109 | struct cJSON *child; |
| 110 | |
| 111 | /* The type of the item, as above. */ |
| 112 | int type; |
| 113 | |
| 114 | /* The item's string, if type==cJSON_String and type == cJSON_Raw */ |
| 115 | char *valuestring; |
| 116 | /* writing to valueint is DEPRECATED, use cJSON_SetNumberValue instead */ |
| 117 | int valueint; |
| 118 | /* The item's number, if type==cJSON_Number */ |
| 119 | double valuedouble; |
| 120 | |
| 121 | /* The item's name string, if this item is the child of, or is in the list of subitems of an object. */ |
| 122 | char *string; |
| 123 | } cJSON; |
| 124 | |
| 125 | typedef struct cJSON_Hooks |
| 126 | { |
nothing calls this directly
no outgoing calls
no test coverage detected