MCPcopy Create free account
hub / github.com/esnet/iperf / cJSON_CreateObject

Function cJSON_CreateObject

src/cjson.c:2544–2553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2542}
2543
2544CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void)
2545{
2546 cJSON *item = cJSON_New_Item(&global_hooks);
2547 if (item)
2548 {
2549 item->type = cJSON_Object;
2550 }
2551
2552 return item;
2553}
2554
2555/* Create Arrays: */
2556CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count)

Callers 8

iperf_json_printfFunction · 0.85
cJSON_AddObjectToObjectFunction · 0.85
send_parametersFunction · 0.85
send_resultsFunction · 0.85
JSONStream_OutputFunction · 0.85
iperf_print_intermediateFunction · 0.85
iperf_print_resultsFunction · 0.85
iperf_json_startFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…