File cJSON.h
FileList > engine > include > cJSON.h
Go to the source code of this file
Classes
Public Types
Public Attributes
Public Functions
Macros
Public Types Documentation
typedef cJSON
typedef struct cJSON cJSON;
typedef cJSON_Hooks
typedef struct cJSON_Hooks cJSON_Hooks;
typedef cJSON_bool
typedef int cJSON_bool;
Public Attributes Documentation
variable b
const cJSON* const b;
variable boolean
const char* const const cJSON_bool boolean;
variable buffer
char* buffer;
variable buffer_length
size_t buffer_length;
variable case_sensitive
const cJSON* const const cJSON_bool case_sensitive;
variable count
int count;
variable fmt
int cJSON_bool fmt;
char const int const cJSON_bool format;
variable index
int index;
variable item
cJSON *const item;
variable length
char const int length;
variable name
const char *const name;
variable newitem
const char cJSON * newitem;
variable number
double number;
variable prebuffer
int prebuffer;
variable raw
const char* const const char* const raw;
variable recurse
cJSON_bool recurse;
variable replacement
cJSON* const cJSON* replacement;
variable require_null_terminated
size_t const char cJSON_bool require_null_terminated;
variable return_parse_end
size_t const char ** return_parse_end;
variable string
const char *const const char *const string;
variable valuestring
const char* valuestring;
variable which
int which;
Public Functions Documentation
function CJSON_PUBLIC
CJSON_PUBLIC (
const char *
)
function CJSON_PUBLIC
CJSON_PUBLIC (
void
)
function CJSON_PUBLIC
CJSON_PUBLIC (
cJSON *
) const
function CJSON_PUBLIC
CJSON_PUBLIC (
char *
) const
function CJSON_PUBLIC
CJSON_PUBLIC (
cJSON_bool
)
function CJSON_PUBLIC
CJSON_PUBLIC (
double
) const
function CJSON_PUBLIC
CJSON_PUBLIC (
void *
)
Macro Definition Documentation
define CJSON_CDECL
#define CJSON_CDECL
define CJSON_CIRCULAR_LIMIT
#define CJSON_CIRCULAR_LIMIT `10000`
define CJSON_NESTING_LIMIT
#define CJSON_NESTING_LIMIT `1000`
define CJSON_PUBLIC
#define CJSON_PUBLIC (
type
) `type`
define CJSON_STDCALL
#define CJSON_STDCALL
define CJSON_VERSION_MAJOR
#define CJSON_VERSION_MAJOR `1`
define CJSON_VERSION_MINOR
#define CJSON_VERSION_MINOR `7`
define CJSON_VERSION_PATCH
#define CJSON_VERSION_PATCH `18`
define cJSON_Array
#define cJSON_Array `(1 << 5)`
define cJSON_ArrayForEach
#define cJSON_ArrayForEach (
element,
array
) `for(element = (array != NULL) ? (array)->child : NULL; element != NULL; element = element->next)`
define cJSON_False
#define cJSON_False `(1 << 0)`
define cJSON_Invalid
#define cJSON_Invalid `(0)`
define cJSON_IsReference
#define cJSON_IsReference `256`
define cJSON_NULL
#define cJSON_NULL `(1 << 2)`
define cJSON_Number
#define cJSON_Number `(1 << 3)`
define cJSON_Object
#define cJSON_Object `(1 << 6)`
define cJSON_Raw
#define cJSON_Raw `(1 << 7) /* raw json */`
define cJSON_SetBoolValue
#define cJSON_SetBoolValue (
object,
boolValue
) `/* multi line expression */`
define cJSON_SetIntValue
#define cJSON_SetIntValue (
object,
number
) `((object) ? (object)->valueint = (object)->valuedouble = (number) : (number))`
define cJSON_SetNumberValue
#define cJSON_SetNumberValue (
object,
number
) `((object != NULL) ? cJSON_SetNumberHelper(object, (double)number) : (number))`
define cJSON_String
#define cJSON_String `(1 << 4)`
define cJSON_StringIsConst
#define cJSON_StringIsConst `512`
define cJSON_True
#define cJSON_True `(1 << 1)`
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/include/cJSON.h