MCPcopy Create free account
hub / github.com/OpenIPC/firmware / cJSON_AddItemToObject

Function cJSON_AddItemToObject

general/package/xmdp/src/cjson/cJSON.c:2051–2054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

add_item_to_objectFunction · 0.85

Tested by

no test coverage detected