MCPcopy Create free account
hub / github.com/Bwar/CJsonObject / cJSON_CreateNull

Function cJSON_CreateNull

cJSON.c:969–975  ·  view source on GitHub ↗

Create basic types: */

Source from the content-addressed store, hash-verified

967
968/* Create basic types: */
969cJSON *cJSON_CreateNull()
970{
971 cJSON *item = cJSON_New_Item();
972 if (item)
973 item->type = cJSON_NULL;
974 return item;
975}
976cJSON *cJSON_CreateTrue()
977{
978 cJSON *item = cJSON_New_Item();

Callers 3

AddNullMethod · 0.85
ReplaceWithNullMethod · 0.85
AddNullAsFirstMethod · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected