#include <stddef.h>
Go to the source code of this file.
| #define CJSON_PUBLIC |
( |
|
type | ) |
type |
| #define CJSON_VERSION_MAJOR 1 |
| #define CJSON_VERSION_MINOR 7 |
| #define CJSON_VERSION_PATCH 11 |
| #define cJSON_Invalid (0) |
| #define cJSON_False (1 << 0) |
| #define cJSON_True (1 << 1) |
| #define cJSON_NULL (1 << 2) |
| #define cJSON_Number (1 << 3) |
| #define cJSON_String (1 << 4) |
| #define cJSON_Array (1 << 5) |
| #define cJSON_Object (1 << 6) |
| #define cJSON_Raw (1 << 7) /* raw json */ |
| #define cJSON_IsReference 256 |
| #define cJSON_StringIsConst 512 |
| #define CJSON_NESTING_LIMIT 1000 |
| #define cJSON_SetIntValue |
( |
|
object, |
|
|
|
number |
|
) |
| ((object) ? (object)->valueint = (object)->valuedouble = (number) : (number)) |
| #define cJSON_SetNumberValue |
( |
|
object, |
|
|
|
number |
|
) |
| ((object != NULL) ? cJSON_SetNumberHelper(object, (double)number) : (number)) |
| #define cJSON_ArrayForEach |
( |
|
element, |
|
|
|
array |
|
) |
| for(element = (array != NULL) ? (array)->child : NULL; element != NULL; element = element->next) |
| CJSON_PUBLIC |
( |
const char * |
| ) |
|
Definition at line 77 of file cJSON.c.
79 return (
const char*) (global_error.
json + global_error.
position);
const unsigned char * json
| CJSON_PUBLIC |
( |
cJSON * |
| ) |
const |
| CJSON_PUBLIC |
( |
char * |
| ) |
const |
Definition at line 2963 of file cJSON.c.
2965 return global_hooks.
allocate(size);
void *CJSON_CDECL * allocate(size_t size)
| const char** return_parse_end |
| const char *const const char *const string |
| const char cJSON * newitem |
| const char* const const char* const raw |