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

Function cJSON_GetObjectItem

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

Source from the content-addressed store, hash-verified

822 return c;
823}
824cJSON *cJSON_GetObjectItem(cJSON *object, const char *string)
825{
826 cJSON *c = object->child;
827 while (c && cJSON_strcasecmp(c->string, string))
828 c = c->next;
829 return c;
830}
831
832/* Utility for array list handling. */
833static void suffix_object(cJSON *prev, cJSON *item)

Callers 14

AddEmptySubObjectMethod · 0.85
AddEmptySubArrayMethod · 0.85
CJsonObject.cppFile · 0.85
operator()Method · 0.85
KeyExistMethod · 0.85
GetMethod · 0.85
GetValueTypeMethod · 0.85
IsNullMethod · 0.85
AddMethod · 0.85
AddWithMoveMethod · 0.85
AddNullMethod · 0.85
ReplaceMethod · 0.85

Calls 1

cJSON_strcasecmpFunction · 0.85

Tested by

no test coverage detected