ArduinoJson 6.19.0 * Remove `ARDUINOJSON_EMBEDDED_MODE` and assume we run on an embedded platform.
Changes
- Remove
ARDUINOJSON_EMBEDDED_MODEand assume we run on an embedded platform.
Dependent settings (likeARDUINOJSON_DEFAULT_NESTING_LIMIT) must be set individually. - Change the default of
ARDUINOJSON_USE_DOUBLEto1 - Change the default of
ARDUINOJSON_USE_LONG_LONGto1on 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 == boolandDeserializationError != 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.hwhen all its features are disabled (issue #1692, PR #1693 by @paulocsanz) - Assume
PROGMEMis available as soon asARDUINOis defined (consequence of #1693)