MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / cJSON_AddItemToObjectCS

Function cJSON_AddItemToObjectCS

libapp2sys/src/main/cpp/cjson/cJSON.c:1946–1949  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1944
1945/* Add an item to an object with constant string as key */
1946CJSON_PUBLIC(void) cJSON_AddItemToObjectCS(cJSON *object, const char *string, cJSON *item)
1947{
1948 add_item_to_object(object, string, item, &global_hooks, true);
1949}
1950
1951CJSON_PUBLIC(void) cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item)
1952{

Callers

nothing calls this directly

Calls 1

add_item_to_objectFunction · 0.85

Tested by

no test coverage detected