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

Function cJSON_CreateObject

lib/cJSON.c:2244–2253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2242}
2243
2244cJSON *cJSON_CreateObject(void)
2245{
2246 cJSON *item = cJSON_New_Item();
2247 if (item)
2248 {
2249 item->type = cJSON_Object;
2250 }
2251
2252 return item;
2253}
2254
2255/* Create Arrays: */
2256cJSON *cJSON_CreateIntArray(const int *numbers, int count)

Callers 3

merge_patchFunction · 0.70
payload_add_paramsFunction · 0.50
evi_build_payloadFunction · 0.50

Calls 1

cJSON_New_ItemFunction · 0.70

Tested by

no test coverage detected