-
v6.15.2Release ArduinoJson 6.15.2
ArduinoJson 6.15.2 * CMake: don't build tests when imported in another project * CMake: made project arch-independent * Visual Studio: fixed error C2766 with flag `/Zc:__cplusplus` (issue #1250) * Added support for `JsonDocument` to `copyArray()` (issue #1255) * Added support for `enum`s in `as<T>()` and `is<T>()` (issue #1256) * Added `JsonVariant` as an input type for `deserializeXxx()`
-
v6.15.1Release ArduinoJson 6.15.1
ArduinoJson 6.15.1 * Fixed "maybe-uninitialized" warning (issue #1217) * Fixed "statement is unreachable" warning on IAR (issue #1233) * Fixed "pointless integer comparison" warning on IAR (issue #1233) * Added CMake "install" target (issue #1209) * Disabled alignment on AVR (issue #1231)
-
v6.15.0Release ArduinoJson 6.15.0
ArduinoJson 6.15.0 * Added `DeserializationOption::Filter` (issue #959) * Added example `JsonFilterExample.ino` * Changed the array subscript operator to automatically add missing elements * Fixed "deprecated-copy" warning on GCC 9 (fixes #1184) * Fixed `MemberProxy::set(char[])` not duplicating the string (issue #1191) * Fixed enums serialized as booleans (issue #1197) * Fixed incorrect string comparison on some platforms (issue #1198) * Added move-constructor and move-assignment to `BasicJsonDocument` * Added `BasicJsonDocument::garbageCollect()` (issue #1195) * Added `StaticJsonDocument::garbageCollect()` * Changed copy-constructor of `BasicJsonDocument` to preserve the capacity of the source. * Removed copy-constructor of `JsonDocument` (issue #1189)
-
v6.14.1Release ArduinoJson 6.14.1
ArduinoJson 6.14.1 * Fixed regression in UTF16 decoding (issue #1173) * Fixed `containsKey()` on `JsonVariantConst` * Added `getElement()` and `getMember()` to `JsonVariantConst`
-
v6.14.0Release ArduinoJson 6.14.0
ArduinoJson 6.14.0 * Added `BasicJsonDocument::shrinkToFit()` * Added support of `uint8_t` for `serializeJson()`, `serializeJsonPretty()`, and `serializeMsgPack()` (issue #1142) * Added `ARDUINOJSON_ENABLE_COMMENTS` to enable support for comments (defaults to 0) * Auto enable support for `std::string` and `std::stream` on modern compilers (issue #1156)
-
v6.13.0Release ArduinoJson 6.13.0
ArduinoJson 6.13.0 * Added support for custom writer/reader classes (issue #1088) * Added conversion from `JsonArray` and `JsonObject` to `bool`, to be consistent with `JsonVariant` * Fixed `deserializeJson()` when input contains duplicate keys (issue #1095) * Improved `deserializeMsgPack()` speed by reading several bytes at once * Added detection of Atmel AVR8/GNU C Compiler (issue #1112) * Fixed deserializer that stopped reading at the first `0xFF` (PR #1118 by @mikee47) * Fixed dangling reference in copies of `MemberProxy` and `ElementProxy` (issue #1120)
-
v6.12.0Release ArduinoJson 6.12.0
ArduinoJson 6.12.0 * Use absolute instead of relative includes (issue #1072) * Changed `JsonVariant::as<bool>()` to return `true` for any non-null value (issue #1005) * Moved ancillary files to `extras/` (issue #1011)
-
v6.11.5Release ArduinoJson 6.11.5
ArduinoJson 6.11.5 * Added fallback implementations of `strlen_P()`, `strncmp_P()`, `strcmp_P()`, and `memcpy_P()` (issue #1073)
-
v6.11.4Release ArduinoJson 6.11.4
ArduinoJson 6.11.4 * Added `measureJson()` to the `ArduinoJson` namespace (PR #1069 by @nomis) * Added support for `basic_string<char, traits, allocator>` (issue #1045) * Fixed example `JsonConfigFile.ino` for ESP8266 * Include `Arduino.h` if `ARDUINO` is defined (PR #1071 by @nomis)
-
v6.11.3Release ArduinoJson 6.11.3
ArduinoJson 6.11.3 * Added operators `==` and `!=` for `JsonDocument`, `ElementProxy`, and `MemberProxy` * Fixed comparison of `JsonVariant` when one contains a linked string and the other contains an owned string (issue #1051)
-
v6.11.2Release ArduinoJson 6.11.2
ArduinoJson 6.11.2 * Fixed assignment of `JsonDocument` to `JsonVariant` (issue #1023) * Fix invalid conversion error on Particle Argon (issue #1035)
-
v6.11.1Release ArduinoJson 6.11.1
ArduinoJson 6.11.1 * Fixed `serialized()` not working with Flash strings (issue #1030)
-
v6.11.0Release ArduinoJson 6.11.0
ArduinoJson 6.11.0 * Fixed `deserializeJson()` silently accepting a `Stream*` (issue #978) * Fixed invalid result from `operator|` (issue #981) * Made `deserializeJson()` more picky about trailing characters (issue #980) * Added `ARDUINOJSON_ENABLE_NAN` (default=0) to enable NaN in JSON (issue #973) * Added `ARDUINOJSON_ENABLE_INFINITY` (default=0) to enable Infinity in JSON * Removed implicit conversion in comparison operators (issue #998) * Added lexicographical comparison for `JsonVariant` * Added support for `nullptr` (issue #998)
-
v6.10.1Release ArduinoJson 6.10.1
ArduinoJson 6.10.1 * Fixed error "attributes are not allowed on a function-definition" * Fixed `deserializeJson()` not being picky enough (issue #969) * Fixed error "no matching function for call to write(uint8_t)" (issue #972)
-
v6.10.0Release ArduinoJson 6.10.0
ArduinoJson 6.10.0 * Fixed an integer overflow in the JSON deserializer * Added overflow handling in `JsonVariant::as<T>()` and `JsonVariant::is<T>()`.
-
v6.9.1Release ArduinoJson 6.9.1
ArduinoJson 6.9.1 * Fixed warning "unused variable" with GCC 4.4 (issue #912) * Fixed warning "cast increases required alignment" (issue #914) * Fixed warning "conversion may alter value" (issue #914) * Fixed naming conflict with "CAPACITY" (issue #839) * Muted warning "will change in GCC 7.1" (issue #914) * Added a clear error message for `StaticJsonBuffer` and `DynamicJsonBuffer` * Marked ArduinoJson.h as a "system header"
-
v5.13.5Release ArduinoJson 5.13.5
ArduinoJson 5.13.5 * Fixed warning "unused variable" with GCC 4.4 (issue #912) * Fixed warning "maybe uninitialized" (issue #909) * Added an clear message for `StaticJsonDocument`, `DynamicJsonDocument`...
-
v6.9.0Release ArduinoJson 6.9.0
ArduinoJson 6.9.0 * Decode escaped Unicode characters like \u00DE (issue #304, PR #791)
-
v6.8.0-betaRelease ArduinoJson 6.8.0-beta
ArduinoJson 6.8.0-beta * Import functions in the ArduinoJson namespace to get clearer errors * Improved syntax highlighting in Arduino IDE * Removed default capacity of `DynamicJsonDocument` * `JsonArray::copyFrom()` accepts `JsonArrayConst` * `JsonVariant::set()` accepts `JsonArrayConst` and `JsonObjectConst` * `JsonDocument` was missing in the ArduinoJson namespace * Added `memoryUsage()` to `JsonArray`, `JsonObject`, and `JsonVariant` * Added `nesting()` to `JsonArray`, `JsonDocument`, `JsonObject`, and `JsonVariant` * Replaced `JsonDocument::nestingLimit` with an additional parameter
-
v6.7.0-betaRelease ArduinoJson 6.7.0-beta
ArduinoJson 6.7.0-beta * Removed the automatic expansion of `DynamicJsonDocument`, it now has a fixed capacity. * Restored the monotonic allocator because the code was getting too big * Reduced the memory usage * Reduced the code size * Renamed `JsonKey` to `JsonString` * Removed spurious files in the Particle library