// These calls create a cJSON item of the appropriate type.
/* For analysing failed parses. This returns a pointer to the parse error. You'll probably need to look a few chars back to make sense of it. Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds. */
externcJSON*cJSON_CreateNull(void);
ESL_DECLARE(constchar*)cJSON_GetErrorPtr();
externcJSON*cJSON_CreateTrue(void);
externcJSON*cJSON_CreateFalse(void);
/* These calls create a cJSON item of the appropriate type. */
externcJSON*cJSON_CreateNumber(doublenum);
ESL_DECLARE(cJSON*)cJSON_CreateNull();
externcJSON*cJSON_CreateString(constchar*string);
ESL_DECLARE(cJSON*)cJSON_CreateTrue();
externcJSON*cJSON_CreateArray(void);
ESL_DECLARE(cJSON*)cJSON_CreateFalse();
externcJSON*cJSON_CreateObject(void);
ESL_DECLARE(cJSON*)cJSON_CreateBool(intb);
ESL_DECLARE(cJSON*)cJSON_CreateNumber(doublenum);
// These utilities create an Array of count items.
// Append reference to item to the specified array/object. Use this when you want to add an existing cJSON to a new cJSON, but don't want to corrupt your existing cJSON.
/* Append reference to item to the specified array/object. Use this when you want to add an existing cJSON to a new cJSON, but don't want to corrupt your existing cJSON. */
// These calls create a cJSON item of the appropriate type.
/* For analysing failed parses. This returns a pointer to the parse error. You'll probably need to look a few chars back to make sense of it. Defined when cJSON_Parse() returns 0. 0 when cJSON_Parse() succeeds. */
SWITCH_DECLARE(cJSON*)cJSON_CreateNull(void);
SWITCH_DECLARE(constchar*)cJSON_GetErrorPtr();
SWITCH_DECLARE(cJSON*)cJSON_CreateTrue(void);
SWITCH_DECLARE(cJSON*)cJSON_CreateFalse(void);
/* These calls create a cJSON item of the appropriate type. */
// Append reference to item to the specified array/object. Use this when you want to add an existing cJSON to a new cJSON, but don't want to corrupt your existing cJSON.
/* Append reference to item to the specified array/object. Use this when you want to add an existing cJSON to a new cJSON, but don't want to corrupt your existing cJSON. */