Configuration¶
This is the default configuration of the middleware.
When any of the settings shall be modified, it shall be done in dedicated application config lwjson_opts.h
file.
Note
Check Getting started for guidelines on how to create and use configuration file.
- group LWJSON_OPT
LwJSON options.
Defines
-
LWJSON_CFG_REAL_TYPE¶
Real data type used to parse numbers with floating point number.
This is used for numbers in LWJSON_TYPE_NUM_REAL token data type.
Note
Data type must be signed, normally
float
ordouble
-
LWJSON_CFG_INT_TYPE¶
Integer type used to parse numbers.
This is used for numbers in LWJSON_TYPE_NUM_INT token data type.
Note
Data type must be signed integer
-
LWJSON_CFG_COMMENTS¶
Enables
1
or disables0
support for inline comments.Default set to
0
to be JSON compliant
-
LWJSON_CFG_REAL_TYPE¶