Compile time configuration
You can configure ArduinoJson with the following macros.
ARDUINOJSON_DECODE_UNICODE- Enables decoding of Unicode escape sequence (
\uXXXX)
ARDUINOJSON_DEFAULT_NESTING_LIMIT- Defines the default nesting limit
ARDUINOJSON_ENABLE_ARDUINO_STREAM- Controls the support of Arduino’s
Streamclass
ARDUINOJSON_ENABLE_ARDUINO_STRING- Controls the support of Arduino’s
Stringclass
ARDUINOJSON_ENABLE_COMMENTS- Enables the support of comments in JSON input documents
ARDUINOJSON_ENABLE_NAN- Activates support of
NaNin JSON documents
ARDUINOJSON_ENABLE_INFINITY- Activates support of
Infinityin JSON documents
ARDUINOJSON_ENABLE_PROGMEM- Controls the support of Flash strings
ARDUINOJSON_ENABLE_STD_STREAM- Controls the support for
std::istreamandstd::ostream
ARDUINOJSON_ENABLE_STD_STRING- Controls the support of the
std::stringclass
ARDUINOJSON_NEGATIVE_EXPONENTIATION_THRESHOLD- Controls the exponentiation of small floating-point values
ARDUINOJSON_POSITIVE_EXPONENTIATION_THRESHOLD- Controls the exponentiation of large floating-point values
ARDUINOJSON_SLOT_ID_SIZE- Sets the number of bytes used to store a slot id
ARDUINOJSON_STRING_LENGTH_SIZE- Sets the number of bytes used to store the length of a string
ARDUINOJSON_USE_DOUBLE- Selects the storage type for floating-point values
ARDUINOJSON_USE_LONG_LONG- Selects the storage type for integral values