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

Function cJSON_CreateNull

lib/cJSON.c:2112–2121  ·  view source on GitHub ↗

Create basic types: */

Source from the content-addressed store, hash-verified

2110
2111/* Create basic types: */
2112cJSON *cJSON_CreateNull(void)
2113{
2114 cJSON *item = cJSON_New_Item();
2115 if(item)
2116 {
2117 item->type = cJSON_NULL;
2118 }
2119
2120 return item;
2121}
2122
2123cJSON *cJSON_CreateTrue(void)
2124{

Callers 1

payload_add_paramsFunction · 0.50

Calls 1

cJSON_New_ItemFunction · 0.70

Tested by

no test coverage detected