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

Function cJSON_CreateObject

eval/LANE_evaluation/lane2d/src/cJSON.c:1044–1050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1042 return item;
1043}
1044cJSON *cJSON_CreateObject()
1045{
1046 cJSON *item = cJSON_New_Item();
1047 if (item)
1048 item->type = cJSON_Object;
1049 return item;
1050}
1051
1052/* Create Arrays: */
1053cJSON *cJSON_CreateIntArray(int *numbers, int sign, int count)

Callers 5

AddEmptySubObjectMethod · 0.85
AddEmptySubArrayMethod · 0.85
AddMethod · 0.85
AddWithMoveMethod · 0.85
AddNullMethod · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected