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

Function cJSON_CreateNull

cpworker/src/cJSON/cJSON.c:2408–2417  ·  view source on GitHub ↗

Create basic types: */

Source from the content-addressed store, hash-verified

2406
2407/* Create basic types: */
2408CJSON_PUBLIC(cJSON *) cJSON_CreateNull(void)
2409{
2410 cJSON *item = cJSON_New_Item(&global_hooks);
2411 if(item)
2412 {
2413 item->type = cJSON_NULL;
2414 }
2415
2416 return item;
2417}
2418
2419CJSON_PUBLIC(cJSON *) cJSON_CreateTrue(void)
2420{

Callers 2

generate_merge_patchFunction · 0.85
cJSON_AddNullToObjectFunction · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected