| 2064 | } |
| 2065 | |
| 2066 | CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToObject(cJSON *object, const char *string, cJSON *item) |
| 2067 | { |
| 2068 | return add_item_to_object(object, string, item, &global_hooks, false); |
| 2069 | } |
| 2070 | |
| 2071 | /* Add an item to an object with constant string as key */ |
| 2072 | CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToObjectCS(cJSON *object, const char *string, cJSON *item) |
no test coverage detected