MCPcopy Create free account
hub / github.com/Wassimulator/CactusViewer / cJSON_AddItemToObject

Function cJSON_AddItemToObject

src/cJSON.c:2048–2051  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2046}
2047
2048CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToObject(cJSON *object, const char *string, cJSON *item)
2049{
2050 return add_item_to_object(object, string, item, &global_hooks, false);
2051}
2052
2053/* Add an item to an object with constant string as key */
2054CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToObjectCS(cJSON *object, const char *string, cJSON *item)

Callers 1

save_settingsFunction · 0.85

Calls 1

add_item_to_objectFunction · 0.85

Tested by

no test coverage detected