MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / cJSON

Class cJSON

eval/LANE_evaluation/lane2d/include/cJSON.h:53–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52/* The cJSON structure: */
53typedef 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
68typedef struct cJSON_Hooks
69{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected