Function cJSON_AddItemToArray

Synopsis

#include <cJSON.h>

cJSON_bool cJSON_AddItemToArray(cJSON *array, cJSON *item)

Description

Append item to the specified array/object.

Add item to array/object.

Mentioned in

Source

Lines 1986-1989 in cJSON.c. Line 222 in cJSON.h.

CJSON_PUBLIC(cJSON_bool) cJSON_AddItemToArray(cJSON *array, cJSON *item)
{
    return add_item_to_array(array, item);
}





Add Discussion as Guest

Log in