Function cJSON_CreateArray

Synopsis

#include <cJSON.h>

cJSON * cJSON_CreateArray(void)

Description

No description yet.

Mentioned in

Source

Lines 2513-2522 in cJSON.c. Line 203 in cJSON.h.

CJSON_PUBLIC(cJSON *) cJSON_CreateArray(void)
{
    cJSON *item = cJSON_New_Item(&global_hooks);
    if(item)
    {
        item->type=cJSON_Array;
    }

    return item;
}





Add Discussion as Guest

Log in