MCPcopy Create free account
hub / github.com/Netis/cloud-probe / cJSON_AddItemToObject

Function cJSON_AddItemToObject

cpworker/src/cJSON/cJSON.c:2066–2069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2064}
2065
2066CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToObject(cJSON *object, const char *string, cJSON *item)
2067{
2068 return add_item_to_object(object, string, item, &global_hooks, false);
2069}
2070
2071/* Add an item to an object with constant string as key */
2072CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToObjectCS(cJSON *object, const char *string, cJSON *item)

Callers 12

bytes_stats_json_dumpFunction · 0.85
packets_stats_json_dumpFunction · 0.85
capture_stats_json_dumpFunction · 0.85
output_stats_json_dumpFunction · 0.85
unix_manager_acceptFunction · 0.85
unix_command_executeFunction · 0.85
apply_patchFunction · 0.85
compose_patchFunction · 0.85
merge_patchFunction · 0.85
generate_merge_patchFunction · 0.85

Calls 1

add_item_to_objectFunction · 0.85

Tested by

no test coverage detected