MCPcopy Create free account
hub / github.com/antirez/botlib / cJSON_GetArrayItem

Function cJSON_GetArrayItem

cJSON.c:1866–1874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1864}
1865
1866CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index)
1867{
1868 if (index < 0)
1869 {
1870 return NULL;
1871 }
1872
1873 return get_array_item(array, (size_t)index);
1874}
1875
1876static cJSON *get_object_item(const cJSON * const object, const char * const name, const cJSON_bool case_sensitive)
1877{

Callers 1

cJSON_SelectFunction · 0.85

Calls 1

get_array_itemFunction · 0.85

Tested by

no test coverage detected