8000 Tags · deep-soft/ArduinoJson · GitHub
[go: up one dir, main page]

Skip to content

Tags: deep-soft/ArduinoJson

Tags

v7.2.1

Toggle v7.2.1's commit message
ArduinoJson 7.2.1

* Forbid `deserializeJson(JsonArray|JsonObject, ...)` (issue bblanchon#2135)
* Fix VLA support in `JsonDocument::set()`
* Fix `operator[](variant)` ignoring NUL characters

v7.2.0

Toggle v7.2.0's commit message
ArduinoJson 7.2.0

* Store object members with two slots: one for the key and one for the value
* Store 64-bit numbers (`double` and `long long`) in an additional slot
* Reduce the slot size (see table below)
* Improve message when user forgets third arg of `serializeJson()` et al.
* Set `ARDUINOJSON_USE_DOUBLE` to `0` by default on 8-bit architectures
* Deprecate `containsKey()` in favor of `doc["key"].is<T>()`
* Add support for escape sequence `\'` (issue bblanchon#2124)

v7.1.0

Toggle v7.1.0's commit message
ArduinoJson 7.1.0

* Add `ARDUINOJSON_STRING_LENGTH_SIZE` to the namespace name
* Add support for MsgPack binary (PR bblanchon#2078 by @Sanae6)
* Add support for MsgPack extension
* Make string support even more generic (PR bblanchon#2084 by @d-a-v)
* Optimize `deserializeMsgPack()`
* Allow using a `JsonVariant` as a key or index (issue bblanchon#2080)

v7.0.4

Toggle v7.0.4's commit message
ArduinoJson 7.0.4

* Make `JSON_STRING_SIZE(N)` return `N+1` to fix third-party code (issue bblanchon#2054)

v7.0.3

Toggle v7.0.3's commit message
ArduinoJson 7.0.3

* Improve error messages when using `char` or `char*` (issue bblanchon#2043)
* Reduce stack consumption (issue bblanchon#2046)
* Fix compatibility with GCC 4.8 (issue bblanchon#2045)

v7.0.2

Toggle v7.0.2's commit message
ArduinoJson 7.0.2

* Fix assertion `poolIndex < count_` after `JsonDocument::clear()` (issue bblanchon#2034)

v7.0.1

Toggle v7.0.1's commit message
ArduinoJson 7.0.1

* Fix "no matching function" with `JsonObjectConst::operator[]` (issue bblanchon#2019)
* Remove unused files in the PlatformIO package
* Fix `volatile bool` serialized as `1` or `0` instead of `true` or `false` (issue bblanchon#2029)

v6.21.5

Toggle v6.21.5's commit message
ArduinoJson 6.21.5

* Fix warning `function returns incomplete class type` on IAR (issue bblanchon#2001)
* Fix `volatile bool` serialized as `1` or `0` instead of `true` or `false` (issue bblanchon#2029)
* Remove unused files in the PlatformIO package

v7.0.0

Toggle v7.0.0's commit message
ArduinoJson 7.0.0

* Remove `BasicJsonDocument`
* Remove `StaticJsonDocument`
* Add abstract `Allocator` class
* Merge `DynamicJsonDocument` with `JsonDocument`
* Remove `JSON_ARRAY_SIZE()`, `JSON_OBJECT_SIZE()`, and `JSON_STRING_SIZE()`
* Remove `ARDUINOJSON_ENABLE_STRING_DEDUPLICATION` (string deduplication cannot be disabled anymore)
* Remove `JsonDocument::capacity()`
* Store the strings in the heap
* Reference-count shared strings
* Always store `serialized("string")` by copy (#1915)
* Remove the zero-copy mode of `deserializeJson()` and `deserializeMsgPack()`
* Fix double lookup in `to<JsonVariant>()`
* Fix double call to `size()` in `serializeMsgPack()`
* Include `ARDUINOJSON_SLOT_OFFSET_SIZE` in the namespace name
* Remove `JsonVariant::shallowCopy()`
* `JsonDocument`'s capacity grows as needed, no need to pass it to the constructor anymore
* `JsonDocument`'s allocator is not monotonic anymore, removed values get recycled
* Show a link to the documentation when user passes an unsupported input type
* Remove `JsonDocument::memoryUsage()`
* Remove `JsonDocument::garbageCollect()`
* Add `deserializeJson(JsonVariant, ...)` and `deserializeMsgPack(JsonVariant, ...)` (bblanchon#1226)
* Call `shrinkToFit()` in `deserializeJson()` and `deserializeMsgPack()`
* `serializeJson()` and `serializeMsgPack()` replace the content of `std::string` and `String` instead of appending to it
* Replace `add()` with `add<T>()` (`add(T)` is still supported)
* Remove `createNestedArray()` and `createNestedObject()` (use `to<JsonArray>()` and `to<JsonObject>()` instead)

v6.21.4

Toggle v6.21.4's commit message
ArduinoJson 6.21.4

* Fix error `'std::string' has not been declared` (issue bblanchon#1967)
* Fix error `'std::string_view' has not been declared` (issue bblanchon#1967)
* Fix error `no instance of overloaded function...` on recent IAR compilers (issue bblanchon#2001)
0