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

Function cJSON_GetArrayItem

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

Source from the content-addressed store, hash-verified

815 return i;
816}
817cJSON *cJSON_GetArrayItem(cJSON *array, int item)
818{
819 cJSON *c = array->child;
820 while (c && item > 0)
821 item--, c = c->next;
822 return c;
823}
824cJSON *cJSON_GetObjectItem(cJSON *object, const char *string)
825{
826 cJSON *c = object->child;

Callers 8

CJsonObject.cppFile · 0.85
operator()Method · 0.85
GetMethod · 0.85
GetValueTypeMethod · 0.85
IsNullMethod · 0.85
ReplaceMethod · 0.85
ReplaceWithMoveMethod · 0.85
ReplaceWithNullMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected