ArduinoJson 6.19.0 * Remove `ARDUINOJSON_EMBEDDED_MODE` and assume we run on an embedded platform.
Changes
- Remove
ARDUINOJSON_EMBEDDED_MODE
and assume we run on an embedded platform.
Dependent settings (likeARDUINOJSON_DEFAULT_NESTING_LIMIT
) must be set individually. - Change the default of
ARDUINOJSON_USE_DOUBLE
to1
- Change the default of
ARDUINOJSON_USE_LONG_LONG
to1
on 32-bit platforms - Add
as<JsonString>()
andis<JsonString>()
- Add safe bool idiom in
JsonString
- Add support for NUL in string values (issue #1646)
- Add support for arbitrary array rank in
copyArray()
- Add support for
char[][]
incopyArray()
- Remove
DeserializationError == bool
andDeserializationError != bool
- Renamed undocumented function
isUndefined()
toisUnbound()
- Fix
JsonVariant::memoryUsage()
for raw strings - Fix
call of overloaded 'swap(BasicJsonDocument&, BasicJsonDocument&)' is ambiguous
(issue #1678) - Fix inconsistent pool capacity between
BasicJsonDocument
's copy and move constructors - Fix inconsistent pool capacity between
BasicJsonDocument
's copy and move assignments - Fix return type of
StaticJsonDocument::operator=
- Avoid pool reallocation in
BasicJsonDocument
's copy assignment if capacity is the same - Avoid including
Arduino.h
when all its features are disabled (issue #1692, PR #1693 by @paulocsanz) - Assume
PROGMEM
is available as soon asARDUINO
is defined (consequence of #1693)