MCPcopy Index your code
hub / github.com/antirez/botlib / cJSON_AddItemToObjectCS

Function cJSON_AddItemToObjectCS

cJSON.c:2050–2053  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

add_item_to_objectFunction · 0.85

Tested by

no test coverage detected