mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
jsmn configuration added
This commit is contained in:
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" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define JSMN_PARENT_LINKS CONFIG_JSMN_PARENT_LINKS
|
||||||
|
#define JSMN_STRICT CONFIG_JSMN_STRICT
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JSON type identifier. Basic types are:
|
* JSON type identifier. Basic types are:
|
||||||
* o Object
|
* o Object
|
||||||
|
Reference in New Issue
Block a user