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

Function cJSON_CreateObject

cpworker/src/cJSON/cJSON.c:2556–2565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2554}
2555
2556CJSON_PUBLIC(cJSON *) cJSON_CreateObject(void)
2557{
2558 cJSON *item = cJSON_New_Item(&global_hooks);
2559 if (item)
2560 {
2561 item->type = cJSON_Object;
2562 }
2563
2564 return item;
2565}
2566
2567/* Create Arrays: */
2568CJSON_PUBLIC(cJSON *) cJSON_CreateIntArray(const int *numbers, int count)

Calls 1

cJSON_New_ItemFunction · 0.85