MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / cJSON_CreateArray

Function cJSON_CreateArray

lib/cJSON.c:2233–2242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2231}
2232
2233cJSON *cJSON_CreateArray(void)
2234{
2235 cJSON *item = cJSON_New_Item();
2236 if(item)
2237 {
2238 item->type=cJSON_Array;
2239 }
2240
2241 return item;
2242}
2243
2244cJSON *cJSON_CreateObject(void)
2245{

Callers 5

cJSON_CreateIntArrayFunction · 0.70
cJSON_CreateFloatArrayFunction · 0.70
cJSON_CreateDoubleArrayFunction · 0.70
cJSON_CreateStringArrayFunction · 0.70
payload_add_paramsFunction · 0.50

Calls 1

cJSON_New_ItemFunction · 0.70

Tested by

no test coverage detected