Releases: bblanchon/ArduinoJson
Releases · bblanchon/ArduinoJson
ArduinoJson 6.19.4
Changes
- Add
ElementProxy::memoryUsage()
- Add
MemberProxy::memoryUsage()
(issue #1730) - Add implicit conversion from
JsonDocument
toJsonVariant
- Fix comparison operators with
const JsonDocument&
ArduinoJson 6.19.3
ArduinoJson 6.19.2
ArduinoJson 6.19.1
Changes
- Fix crash when adding an object member in a too small
JsonDocument
- Fix filter not working in zero-copy mode (issue #1697)
ArduinoJson 6.19.0
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)
Try online
ArduinoJson 6.18.5
ArduinoJson 6.18.4
ArduinoJson 6.18.3
Changes
- Changed return type of
convertToJson()
andConverter<T>::toJson()
tovoid
- Added
as<std::string_view>()
andis<std::string_view>()
Try online
ArduinoJson 6.18.2
Changes
- Removed a symlink because the Arduino Library Specification forbids it
Try online
ArduinoJson 6.18.1
Changes
- Fixed support for
volatile float
andvolatile double
(issue #1557) - Fixed error
[Pe070]: incomplete type is not allowed
on IAR (issue #1560) - Fixed
serializeJson(doc, String)
when allocation fails (issue #1572) - Fixed clang-tidy warnings (issue #1574, PR #1577 by @armandas)
- Added fake class
InvalidConversion<T1,T2>
to easily identify invalid conversions (issue #1585) - Added support for
std::string_view
(issue #1578, PR #1554 by @0xFEEDC0DE64) - Fixed warning
definition of implicit copy constructor for 'MsgPackDeserializer' is deprecated because it has a user-declared copy assignment operator
- Added
JsonArray::clear()
(issue #1597) - Fixed
JsonVariant::as<unsigned>()
(issue #1601) - Added support for ESP-IDF component build (PR #1562 by @qt1, PR #1599 by @andreaskuster)