Function cJSON_Print

Synopsis

#include <cJSON.h>

char * cJSON_Print(const cJSON *item)

Description

Render a cJSON entity to text for transfer/storage.

Render a cJSON item/entity/structure to text.

Mentioned in

Source

Lines 1248-1251 in cJSON.c. Line 156 in cJSON.h.

CJSON_PUBLIC(char *) cJSON_Print(const cJSON *item)
{
    return (char*)print(item, true, &global_hooks);
}





Add Discussion as Guest

Log in