AWS IoT Device SDK C++ v2: crt/aws-crt-cpp/include/aws/crt/external/cJSON.h File Reference

AWS IoT Device SDK C++ v2 1.14.0 AWS IoT Device SDK C++ v2

Classes | Namespaces | Macros | Typedefs | Functions | Variables
cJSON.h File Reference
`#include <stddef.h>`

Go to the source code of this file.

## Classes
struct | Aws::cJSON
struct | Aws::cJSON_Hooks

## Namespaces
namespace | Aws

## Macros
#define | CJSON_CDECL
#define | CJSON_STDCALL
#define | CJSON_PUBLIC(type) type
#define | CJSON_VERSION_MAJOR 1
#define | CJSON_VERSION_MINOR 7
#define | CJSON_VERSION_PATCH 14
#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)

## Typedefs
typedef struct Aws::cJSON | Aws::cJSON
typedef struct Aws::cJSON_Hooks | Aws::cJSON_Hooks
typedef int | Aws::cJSON_bool

## Functions
| Aws::CJSON_PUBLIC (const char *) cJSON_Version(void)
| Aws::CJSON_PUBLIC (void) cJSON_InitHooks(cJSON_Hooks *hooks)
| Aws::CJSON_PUBLIC (cJSON *) cJSON_Parse(const char *value)
| Aws::CJSON_PUBLIC (char *) cJSON_Print(const cJSON *item)
| Aws::CJSON_PUBLIC (cJSON_bool) cJSON_PrintPreallocated(cJSON *item
| Aws::CJSON_PUBLIC (double) cJSON_GetNumberValue(const cJSON *const item)
| Aws::CJSON_PUBLIC (void *) cJSON_malloc(size_t size)

## Variables
size_t | Aws::buffer_length = strlen(value) + sizeof("")
const char ** | Aws::return_parse_end
const char cJSON_bool | Aws::require_null_terminated
int | Aws::prebuffer
int cJSON_bool | Aws::fmt
char * | Aws::buffer = (unsigned char*)global_hooks.allocate((size_t)prebuffer)
char const int | Aws::length = buffer_length
char const int const cJSON_bool | Aws::format = fmt
int | Aws::index
const char *const | Aws::string
int | Aws::count
cJSON * | Aws::item = NULL
int | Aws::which
int cJSON * | Aws::newitem
cJSON *const cJSON * | Aws::replacement
cJSON_bool | Aws::recurse
const cJSON *const | Aws::b
const cJSON *const const cJSON_bool | Aws::case_sensitive
const char *const | Aws::name
const char *const const cJSON_bool | Aws::boolean
const char *const const double | Aws::number
const char *const const char *const | Aws::raw
const char * | Aws::valuestring

## Macro Definition Documentation

## ◆ cJSON_Array

#define cJSON_Array (1 << 5)

## ◆ cJSON_ArrayForEach

#define cJSON_ArrayForEach | ( |  | element,
|  |  | array
| ) |  | for(element = (array != NULL) ? (array)->child : NULL; element != NULL; element = element->next)

## ◆ CJSON_CDECL

#define CJSON_CDECL

## ◆ cJSON_False

#define cJSON_False (1 << 0)

## ◆ cJSON_Invalid

#define cJSON_Invalid (0)

## ◆ cJSON_IsReference

#define cJSON_IsReference 256

## ◆ CJSON_NESTING_LIMIT

#define CJSON_NESTING_LIMIT 1000

## ◆ cJSON_NULL

#define cJSON_NULL (1 << 2)

## ◆ cJSON_Number

#define cJSON_Number (1 << 3)

## ◆ cJSON_Object

#define cJSON_Object (1 << 6)

## ◆ CJSON_PUBLIC

#define CJSON_PUBLIC | ( |  | type | ) | type

## ◆ cJSON_Raw

#define cJSON_Raw (1 << 7) /* raw json */

## ◆ cJSON_SetIntValue

#define cJSON_SetIntValue | ( |  | object,
|  |  | number
| ) |  | ((object) ? (object)->valueint = (object)->valuedouble = (number) : (number))

## ◆ cJSON_SetNumberValue

#define cJSON_SetNumberValue | ( |  | object,
|  |  | number
| ) |  | ((object != NULL) ? cJSON_SetNumberHelper(object, (double)number) : (number))

## ◆ CJSON_STDCALL

#define CJSON_STDCALL

## ◆ cJSON_String

#define cJSON_String (1 << 4)

## ◆ cJSON_StringIsConst

#define cJSON_StringIsConst 512

## ◆ cJSON_True

#define cJSON_True (1 << 1)

## ◆ CJSON_VERSION_MAJOR

#define CJSON_VERSION_MAJOR 1

## ◆ CJSON_VERSION_MINOR

#define CJSON_VERSION_MINOR 7

## ◆ CJSON_VERSION_PATCH

#define CJSON_VERSION_PATCH 14