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

Function cJSON_GetObjectItem

cJSON.c:818–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

816 return c;
817}
818cJSON *cJSON_GetObjectItem(cJSON *object, const char *string)
819{
820 cJSON *c = object->child;
821 while (c && cJSON_strcasecmp(c->string, string))
822 c = c->next;
823 return c;
824}
825
826/* Utility for array list handling. */
827static void suffix_object(cJSON *prev, cJSON *item)

Callers 13

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

Calls 1

cJSON_strcasecmpFunction · 0.85

Tested by

no test coverage detected