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

Function cJSON_GetArrayItem

cJSON.c:811–817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

809 return i;
810}
811cJSON *cJSON_GetArrayItem(cJSON *array, int item)
812{
813 cJSON *c = array->child;
814 while (c && item > 0)
815 item--, c = c->next;
816 return c;
817}
818cJSON *cJSON_GetObjectItem(cJSON *object, const char *string)
819{
820 cJSON *c = object->child;

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected