49#if !defined(__WINDOWS__) && (defined(WIN32) || defined(WIN64) || defined(_MSC_VER) || defined(_WIN32))
73#define CJSON_CDECL __cdecl
74#define CJSON_STDCALL __stdcall
77#if !defined(CJSON_HIDE_SYMBOLS) && !defined(CJSON_IMPORT_SYMBOLS) && !defined(CJSON_EXPORT_SYMBOLS)
78#define CJSON_EXPORT_SYMBOLS
81#if defined(CJSON_HIDE_SYMBOLS)
82#define CJSON_PUBLIC(type) type CJSON_STDCALL
83#elif defined(CJSON_EXPORT_SYMBOLS)
84#define CJSON_PUBLIC(type) __declspec(dllexport) type CJSON_STDCALL
85#elif defined(CJSON_IMPORT_SYMBOLS)
86#define CJSON_PUBLIC(type) __declspec(dllimport) type CJSON_STDCALL
92#if (defined(__GNUC__) || defined(__SUNPRO_CC) || defined (__SUNPRO_C)) && defined(CJSON_API_VISIBILITY)
93#define CJSON_PUBLIC(type) __attribute__((visibility("default"))) type
95#define CJSON_PUBLIC(type) type
100#define CJSON_VERSION_MAJOR 1
101#define CJSON_VERSION_MINOR 7
102#define CJSON_VERSION_PATCH 14
107#define cJSON_Invalid (0)
108#define cJSON_False (1 << 0)
109#define cJSON_True (1 << 1)
110#define cJSON_NULL (1 << 2)
111#define cJSON_Number (1 << 3)
112#define cJSON_String (1 << 4)
113#define cJSON_Array (1 << 5)
114#define cJSON_Object (1 << 6)
115#define cJSON_Raw (1 << 7)
117#define cJSON_IsReference 256
118#define cJSON_StringIsConst 512
154#ifndef CJSON_NESTING_LIMIT
155#define CJSON_NESTING_LIMIT 1000
191CJSON_PUBLIC(
cJSON *) cJSON_GetObjectItemCaseSensitive(
const cJSON *
const object,
const char *
const string);
257CJSON_PUBLIC(
void) cJSON_DeleteItemFromObjectCaseSensitive(
cJSON *
object,
const char *
string);
293#define cJSON_SetIntValue(object, number) ((object) ? (object)->valueint = (object)->valuedouble = (number) : (number))
296#define cJSON_SetNumberValue(object, number) ((object != NULL) ? cJSON_SetNumberHelper(object, (double)number) : (number))
301#define cJSON_ArrayForEach(element, array) for(element = (array != NULL) ? (array)->child : NULL; element != NULL; element = element->next)
#define CJSON_CDECL
Definition: cJSON.h:89
const cJSON *const const cJSON_bool case_sensitive
Definition: cJSON.h:273
const char *const name
Definition: cJSON.h:282
global_error json
Definition: cJSON.cpp:1118
return cJSON_DetachItemViaPointer(object, to_detach)
char const int length
Definition: cJSON.h:181
cJSON * item
Definition: cJSON.h:240
buffer hooks
Definition: cJSON.cpp:1129
char const int const cJSON_bool format
Definition: cJSON.h:181
cJSON * a
Definition: cJSON.cpp:2562
const char ** return_parse_end
Definition: cJSON.h:170
cJSON * child
Definition: cJSON.cpp:2708
size_t buffer_length
Definition: cJSON.h:167
int which
Definition: cJSON.h:252
int count
Definition: cJSON.h:234
cJSON_bool recurse
Definition: cJSON.h:267
CJSON_PUBLIC(const char *) cJSON_Version(void)
Definition: cJSON.cpp:113
const char cJSON_bool require_null_terminated
Definition: cJSON.h:170
struct Aws::cJSON_Hooks cJSON_Hooks
char * buffer
Definition: cJSON.h:181
cJSON *const cJSON * replacement
Definition: cJSON.h:261
int cJSON * newitem
Definition: cJSON.h:260
const char * valuestring
Definition: cJSON.h:298
const char *const const char *const raw
Definition: cJSON.h:288
return cJSON_ParseWithLengthOpts(value, buffer_length, return_parse_end, require_null_terminated)
int index
Definition: cJSON.h:188
const cJSON *const b
Definition: cJSON.h:273
int cJSON_bool fmt
Definition: cJSON.h:178
const char *const const double number
Definition: cJSON.h:286
int cJSON_bool
Definition: cJSON.h:150
int prebuffer
Definition: cJSON.h:178
void *CJSON_CDECL * malloc_fn(size_t sz)
void(CJSON_CDECL *free_fn)(void *ptr)
struct cJSON * prev
Definition: cJSON.h:125
int valueint
Definition: cJSON.h:133
int type
Definition: cJSON.h:130
char * string
Definition: cJSON.h:140
char * valuestring
Definition: cJSON.h:135
double valuedouble
Definition: cJSON.h:137
struct cJSON * next
Definition: cJSON.h:124
struct cJSON * child
Definition: cJSON.h:127