Skip to content

Tags: eds2code/ArduinoJson

Tags

v5.8.3

Toggle v5.8.3's commit message
ArduinoJson 5.8.3

* Fixed an access violation in `DynamicJsonBuffer` when memory allocation fails (issue bblanchon#433)
* Added operators `==` and `!=` for two `JsonVariant`s (issue bblanchon#436)
* Fixed `JsonVariant::operator[const FlashStringHelper*]` (issue bblanchon#441)

v5.8.2

Toggle v5.8.2's commit message
ArduinoJson 5.8.2

* Fixed parsing of comments (issue bblanchon#421)
* Fixed ignored `Stream` timeout (issue bblanchon#422)
* Made sure we don't read more that necessary (issue bblanchon#422)
* Fixed error when the key of a `JsonObject` is a `char[]` (issue bblanchon#423)
* Reduced code size when using `const` references
* Fixed error with string of type `unsigned char*` (issue bblanchon#428)
* Added `deprecated` attribute on `asArray()`, `asObject()` and `asString()` (issue bblanchon#420)

v5.8.1

Toggle v5.8.1's commit message
ArduinoJson 5.8.1

* Fixed error when assigning a `volatile int` to a `JsonVariant` (issue bblanchon#415)
* Fixed errors with Variable Length Arrays (issue bblanchon#416)
* Fixed error when both `ARDUINOJSON_ENABLE_STD_STREAM` and `ARDUINOJSON_ENABLE_ARDUINO_STREAM` are set to `1`
* Fixed error "Stream does not name a type" (issue bblanchon#412)

v5.8.0

Toggle v5.8.0's commit message
ArduinoJson 5.8.0

* Added operator `==` to compare `JsonVariant` and strings (issue bblanchon#402)
* Added support for `Stream` (issue bblanchon#300)
* Reduced memory consumption by not duplicating spaces and comments

v5.7.3

Toggle v5.7.3's commit message
ArduinoJson 5.7.3

* Added an `printTo(char[N])` and `prettyPrintTo(char[N])` (issue bblanchon#292)
* Added ability to set a nested value like this: `root["A"]["B"] = "C"` (issue bblanchon#352)
* Renamed `*.ipp` to `*Impl.hpp` because they were ignored by Arduino IDE (issue bblanchon#396)

v5.7.2

Toggle v5.7.2's commit message
ArduinoJson 5.7.2

* Made PROGMEM available on more platforms (issue bblanchon#381)
* Fixed PROGMEM causing an exception on ESP8266 (issue bblanchon#383)

v5.7.1

Toggle v5.7.1's commit message
ArduinoJson 5.7.1

* Added support for PROGMEM (issue bblanchon#76)
* Fixed compilation error when index is not an `int` (issue bblanchon#381)

v5.7.0

Toggle v5.7.0's commit message
ArduinoJson 5.7.0

* Templatized all functions using `String` or `std::string`
* Removed `ArduinoJson::String`
* Removed `JsonVariant::defaultValue<T>()`
* Removed non-template `JsonObject::get()` and `JsonArray.get()`
* Fixed support for `StringSumHelper` (issue bblanchon#184)
* Replaced `ARDUINOJSON_USE_ARDUINO_STRING` by `ARDUINOJSON_ENABLE_STD_STRING` and `ARDUINOJSON_ENABLE_ARDUINO_STRING` (issue bblanchon#378)
* Added example `StringExample.ino` to show where `String` can be used
* Increased default nesting limit to 50 when compiled for a computer (issue bblanchon#349)

v5.6.7

Toggle v5.6.7's commit message
ArduinoJson 5.6.7

* Fixed `array[idx].as<JsonVariant>()` and `object[key].as<JsonVariant>()`
* Fixed return value of `JsonObject::set()` (issue bblanchon#350)
* Fixed undefined behavior in `Prettyfier` and `Print` (issue bblanchon#354)
* Fixed parser that incorrectly rejected floats containing a `+` (issue bblanchon#349)

v5.6.6

Toggle v5.6.6's commit message
ArduinoJson 5.6.6

* Fixed `-Wparentheses` warning introduced in v5.6.5 (PR bblanchon#335 by @nuket)
* Added `.mbedignore` for ARM mbdeb (PR bblanchon#334 by @nuket)
* Fixed  `JsonVariant::success()` which didn't propagate `JsonArray::success()` nor `JsonObject::success()` (issue bblanchon#342).