| 816 | return c; |
| 817 | } |
| 818 | cJSON *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. */ |
| 827 | static void suffix_object(cJSON *prev, cJSON *item) |
no test coverage detected