| 1821 | } |
| 1822 | |
| 1823 | cJSON *cJSON_GetObjectItem(const cJSON *object, const char *string) |
| 1824 | { |
| 1825 | cJSON *c = object ? object->child : NULL; |
| 1826 | while (c && cJSON_strcasecmp((unsigned char*)c->string, (const unsigned char*)string)) |
| 1827 | { |
| 1828 | c = c->next; |
| 1829 | } |
| 1830 | return c; |
| 1831 | } |
| 1832 | |
| 1833 | cjbool cJSON_HasObjectItem(const cJSON *object, const char *string) |
| 1834 | { |
no test coverage detected