Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
duk_json.h File Reference

Go to the source code of this file.

Data Structures

struct  duk_json_enc_ctx
 
struct  duk_json_dec_ctx
 

Macros

#define DUK_JSON_FLAG_ASCII_ONLY   (1 << 0) /* escape any non-ASCII characters */
 
#define DUK_JSON_FLAG_AVOID_KEY_QUOTES   (1 << 1) /* avoid key quotes when key is an ASCII Identifier */
 
#define DUK_JSON_FLAG_EXT_CUSTOM   (1 << 2) /* extended types: custom encoding */
 
#define DUK_JSON_FLAG_EXT_COMPATIBLE   (1 << 3) /* extended types: compatible encoding */
 
#define DUK_JSON_ENC_REQSTACK   32
 
#define DUK_JSON_DEC_REQSTACK   32
 
#define DUK_JSON_ENC_LOOPARRAY   64
 

Macro Definition Documentation

◆ DUK_JSON_DEC_REQSTACK

#define DUK_JSON_DEC_REQSTACK   32

Definition at line 18 of file duktape-1.8.0/src-separate/duk_json.h.

◆ DUK_JSON_ENC_LOOPARRAY

#define DUK_JSON_ENC_LOOPARRAY   64

Definition at line 21 of file duktape-1.8.0/src-separate/duk_json.h.

◆ DUK_JSON_ENC_REQSTACK

#define DUK_JSON_ENC_REQSTACK   32

Definition at line 15 of file duktape-1.8.0/src-separate/duk_json.h.

◆ DUK_JSON_FLAG_ASCII_ONLY

#define DUK_JSON_FLAG_ASCII_ONLY   (1 << 0) /* escape any non-ASCII characters */

Definition at line 9 of file duktape-1.8.0/src-separate/duk_json.h.

◆ DUK_JSON_FLAG_AVOID_KEY_QUOTES

#define DUK_JSON_FLAG_AVOID_KEY_QUOTES   (1 << 1) /* avoid key quotes when key is an ASCII Identifier */

Definition at line 10 of file duktape-1.8.0/src-separate/duk_json.h.

◆ DUK_JSON_FLAG_EXT_COMPATIBLE

#define DUK_JSON_FLAG_EXT_COMPATIBLE   (1 << 3) /* extended types: compatible encoding */

Definition at line 12 of file duktape-1.8.0/src-separate/duk_json.h.

◆ DUK_JSON_FLAG_EXT_CUSTOM

#define DUK_JSON_FLAG_EXT_CUSTOM   (1 << 2) /* extended types: custom encoding */

Definition at line 11 of file duktape-1.8.0/src-separate/duk_json.h.