| 659 | return i; |
| 660 | } |
| 661 | cJSON *cJSON_GetArrayItem(cJSON *array, int item) { |
| 662 | cJSON *c = array->child; |
| 663 | while (c && item > 0) item--, c = c->next; |
| 664 | return c; |
| 665 | } |
| 666 | cJSON *cJSON_GetObjectItem(cJSON *object, const char *string) { |
| 667 | cJSON *c = object->child; |
| 668 | while (c && cJSON_strcasecmp(c->string, string)) c = c->next; |
no outgoing calls
no test coverage detected