MCPcopy Create free account
hub / github.com/Bwar/CJsonObject / cJSON

Class cJSON

cJSON.h:52–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected