mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
jsmn configuration added
This commit is contained in:
parent
93a8603c54
commit
1263a38038
16
components/jsmn/Kconfig
Normal file
16
components/jsmn/Kconfig
Normal file
@ -0,0 +1,16 @@
|
||||
menu "jsmn"
|
||||
|
||||
|
||||
config JSMN_PARENT_LINKS
|
||||
bool "Enable parent links"
|
||||
default n
|
||||
help
|
||||
You can access to parent node of parsed json
|
||||
|
||||
config JSMN_STRICT
|
||||
bool "Enable strict mode"
|
||||
default n
|
||||
help
|
||||
In strict mode primitives are: numbers and booleans
|
||||
|
||||
endmenu
|
@ -37,6 +37,9 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define JSMN_PARENT_LINKS CONFIG_JSMN_PARENT_LINKS
|
||||
#define JSMN_STRICT CONFIG_JSMN_STRICT
|
||||
|
||||
/**
|
||||
* JSON type identifier. Basic types are:
|
||||
* o Object
|
||||
|
Loading…
x
Reference in New Issue
Block a user