#include <stddef.h>

Go to the source code of this file.
Classes | |
| struct | cJSON |
| struct | cJSON_Hooks |
Macros | |
| #define | cJSON_Array (1 << 5) |
| #define | cJSON_ArrayForEach(element, array) |
| #define | CJSON_CDECL |
| #define | cJSON_False (1 << 0) |
| #define | cJSON_Invalid (0) |
| #define | cJSON_IsReference 256 |
| #define | CJSON_NESTING_LIMIT 1000 |
| #define | cJSON_NULL (1 << 2) |
| #define | cJSON_Number (1 << 3) |
| #define | cJSON_Object (1 << 6) |
| #define | CJSON_PUBLIC(type) type |
| #define | cJSON_Raw (1 << 7) /* raw json */ |
| #define | cJSON_SetBoolValue(object, boolValue) |
| #define | cJSON_SetIntValue(object, number) |
| #define | cJSON_SetNumberValue(object, number) |
| #define | CJSON_STDCALL |
| #define | cJSON_String (1 << 4) |
| #define | cJSON_StringIsConst 512 |
| #define | cJSON_True (1 << 1) |
| #define | CJSON_VERSION_MAJOR 1 |
| #define | CJSON_VERSION_MINOR 7 |
| #define | CJSON_VERSION_PATCH 17 |
Typedefs | |
| typedef struct cJSON | cJSON |
| typedef int | cJSON_bool |
| typedef struct cJSON_Hooks | cJSON_Hooks |
Functions | |
| cJSON_AddArrayToObject (cJSON *const object, const char *const name) | |
| cJSON_AddBoolToObject (cJSON *const object, const char *const name, const cJSON_bool boolean) | |
| cJSON_AddFalseToObject (cJSON *const object, const char *const name) | |
| cJSON_AddItemReferenceToArray (cJSON *array, cJSON *item) | |
| cJSON_AddItemReferenceToObject (cJSON *object, const char *string, cJSON *item) | |
| cJSON_AddItemToObject (cJSON *object, const char *string, cJSON *item) | |
| cJSON_AddItemToObjectCS (cJSON *object, const char *string, cJSON *item) | |
| cJSON_AddNullToObject (cJSON *const object, const char *const name) | |
| cJSON_AddNumberToObject (cJSON *const object, const char *const name, const double number) | |
| cJSON_AddObjectToObject (cJSON *const object, const char *const name) | |
| cJSON_AddRawToObject (cJSON *const object, const char *const name, const char *const raw) | |
| cJSON_AddStringToObject (cJSON *const object, const char *const name, const char *const string) | |
| cJSON_AddTrueToObject (cJSON *const object, const char *const name) | |
| cJSON_Compare (const cJSON *const a, const cJSON *const b, const cJSON_bool case_sensitive) | |
| cJSON_CreateStringArray (const char *const *strings, int count) | |
| cJSON_DeleteItemFromObject (cJSON *object, const char *string) | |
| cJSON_DeleteItemFromObjectCaseSensitive (cJSON *object, const char *string) | |
| cJSON_DetachItemFromObject (cJSON *object, const char *string) | |
| cJSON_DetachItemFromObjectCaseSensitive (cJSON *object, const char *string) | |
| cJSON_DetachItemViaPointer (cJSON *parent, cJSON *const item) | |
| cJSON_GetObjectItem (const cJSON *const object, const char *const string) | |
| cJSON_GetObjectItemCaseSensitive (const cJSON *const object, const char *const string) | |
| cJSON_HasObjectItem (const cJSON *object, const char *string) | |
| cJSON_InsertItemInArray (cJSON *array, int which, cJSON *newitem) | |
| cJSON_ParseWithLength (const char *value, size_t buffer_length) | |
| cJSON_ParseWithLengthOpts (const char *value, size_t buffer_length, const char **return_parse_end, cJSON_bool require_null_terminated) | |
| cJSON_ParseWithOpts (const char *value, const char **return_parse_end, cJSON_bool require_null_terminated) | |
| cJSON_PrintBuffered (const cJSON *item, int prebuffer, cJSON_bool fmt) | |
| cJSON_PrintPreallocated (cJSON *item, char *buffer, const int length, const cJSON_bool format) | |
| CJSON_PUBLIC (char *) cJSON_Print(const cJSON *item) | |
| CJSON_PUBLIC (cJSON *) cJSON_Parse(const char *value) | |
| CJSON_PUBLIC (const char *) cJSON_Version(void) | |
| CJSON_PUBLIC (double) cJSON_GetNumberValue(const cJSON *const item) | |
| CJSON_PUBLIC (int) cJSON_GetArraySize(const cJSON *array) | |
| CJSON_PUBLIC (void *) cJSON_malloc(size_t size) | |
| CJSON_PUBLIC (void) cJSON_InitHooks(cJSON_Hooks *hooks) | |
| cJSON_ReplaceItemInArray (cJSON *array, int which, cJSON *newitem) | |
| cJSON_ReplaceItemInObject (cJSON *object, const char *string, cJSON *newitem) | |
| cJSON_ReplaceItemInObjectCaseSensitive (cJSON *object, const char *string, cJSON *newitem) | |
| cJSON_ReplaceItemViaPointer (cJSON *const parent, cJSON *const item, cJSON *replacement) | |
| cJSON_SetValuestring (cJSON *object, const char *valuestring) | |
Variables | |
| int | count |
| int | index |
| cJSON * | item |
| double | number |
| cJSON_bool | recurse |
| int | which |
| #define cJSON_ArrayForEach | ( | element, | |
| array | |||
| ) |
| #define cJSON_SetBoolValue | ( | object, | |
| boolValue | |||
| ) |
| #define cJSON_SetIntValue | ( | object, | |
| number | |||
| ) |
| #define cJSON_SetNumberValue | ( | object, | |
| number | |||
| ) |
| typedef int cJSON_bool |
| typedef struct cJSON_Hooks cJSON_Hooks |
| cJSON_AddArrayToObject | ( | cJSON *const | object, |
| const char *const | name | ||
| ) |
| cJSON_AddBoolToObject | ( | cJSON *const | object, |
| const char *const | name, | ||
| const cJSON_bool | boolean | ||
| ) |
| cJSON_AddFalseToObject | ( | cJSON *const | object, |
| const char *const | name | ||
| ) |
| cJSON_AddNullToObject | ( | cJSON *const | object, |
| const char *const | name | ||
| ) |
| cJSON_AddNumberToObject | ( | cJSON *const | object, |
| const char *const | name, | ||
| const double | number | ||
| ) |
| cJSON_AddObjectToObject | ( | cJSON *const | object, |
| const char *const | name | ||
| ) |
| cJSON_AddRawToObject | ( | cJSON *const | object, |
| const char *const | name, | ||
| const char *const | raw | ||
| ) |
| cJSON_AddStringToObject | ( | cJSON *const | object, |
| const char *const | name, | ||
| const char *const | string | ||
| ) |
| cJSON_AddTrueToObject | ( | cJSON *const | object, |
| const char *const | name | ||
| ) |
| cJSON_Compare | ( | const cJSON *const | a, |
| const cJSON *const | b, | ||
| const cJSON_bool | case_sensitive | ||
| ) |
| cJSON_CreateStringArray | ( | const char *const * | strings, |
| int | count | ||
| ) |
| cJSON_DeleteItemFromObject | ( | cJSON * | object, |
| const char * | string | ||
| ) |
| cJSON_DeleteItemFromObjectCaseSensitive | ( | cJSON * | object, |
| const char * | string | ||
| ) |
| cJSON_DetachItemFromObject | ( | cJSON * | object, |
| const char * | string | ||
| ) |
| cJSON_DetachItemFromObjectCaseSensitive | ( | cJSON * | object, |
| const char * | string | ||
| ) |
| cJSON_GetObjectItem | ( | const cJSON *const | object, |
| const char *const | string | ||
| ) |
| cJSON_GetObjectItemCaseSensitive | ( | const cJSON *const | object, |
| const char *const | string | ||
| ) |
| cJSON_HasObjectItem | ( | const cJSON * | object, |
| const char * | string | ||
| ) |
| cJSON_ParseWithLength | ( | const char * | value, |
| size_t | buffer_length | ||
| ) |
| cJSON_ParseWithLengthOpts | ( | const char * | value, |
| size_t | buffer_length, | ||
| const char ** | return_parse_end, | ||
| cJSON_bool | require_null_terminated | ||
| ) |
| cJSON_ParseWithOpts | ( | const char * | value, |
| const char ** | return_parse_end, | ||
| cJSON_bool | require_null_terminated | ||
| ) |
| cJSON_PrintBuffered | ( | const cJSON * | item, |
| int | prebuffer, | ||
| cJSON_bool | fmt | ||
| ) |
| cJSON_PrintPreallocated | ( | cJSON * | item, |
| char * | buffer, | ||
| const int | length, | ||
| const cJSON_bool | format | ||
| ) |
| CJSON_PUBLIC | ( | char * | ) | const |
| CJSON_PUBLIC | ( | cJSON * | ) | const |
| CJSON_PUBLIC | ( | double | ) | const |
| CJSON_PUBLIC | ( | int | ) | const |
| CJSON_PUBLIC | ( | void | ) |
| cJSON_SetValuestring | ( | cJSON * | object, |
| const char * | valuestring | ||
| ) |
| cJSON_bool recurse |