MCPcopy Create free account
hub / github.com/DaveGamble/cJSON / cJSON_AddItemToObjectCS

Function cJSON_AddItemToObjectCS

cJSON.c:2110–2113  ·  view source on GitHub ↗

Add an item to an object with constant string as key */

Source from the content-addressed store, hash-verified

2108
2109/* Add an item to an object with constant string as key */
2110CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToObjectCS(cJSON *object, const char *string, cJSON *item)
2111{
2112 return add_item_to_object(object, string, item, &global_hooks, true);
2113}
2114
2115CJSON_PUBLIC(cJSON_bool) cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item)
2116{

Calls 1

add_item_to_objectFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…