Releases: bblanchon/ArduinoJson
Releases 路 bblanchon/ArduinoJson
ArduinoJson 7.0.4
Changes
- Make
JSON_STRING_SIZE(N)
returnN+1
to fix third-party code (issue #2054)
ArduinoJson 7.0.3
ArduinoJson 7.0.2
Changes
- Fix assertion
poolIndex < count_
afterJsonDocument::clear()
(issue #2034)
ArduinoJson 7.0.1
ArduinoJson 6.21.5
ArduinoJson 7.0.0
Changes
- Remove
BasicJsonDocument
- Remove
StaticJsonDocument
- Add abstract
Allocator
class - Merge
DynamicJsonDocument
withJsonDocument
- Remove
JSON_ARRAY_SIZE()
,JSON_OBJECT_SIZE()
, andJSON_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()
anddeserializeMsgPack()
- Fix double lookup in
to<JsonVariant>()
- Fix double call to
size()
inserializeMsgPack()
- 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 anymoreJsonDocument
'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, ...)
anddeserializeMsgPack(JsonVariant, ...)
(#1226) - Call
shrinkToFit()
indeserializeJson()
anddeserializeMsgPack()
serializeJson()
andserializeMsgPack()
replace the content ofstd::string
andString
instead of appending to it- Replace
add()
withadd<T>()
(add(T)
is still supported) - Remove
createNestedArray()
andcreateNestedObject()
(useto<JsonArray>()
andto<JsonObject>()
instead)
ArduinoJson 6.21.4
ArduinoJson 6.21.3
Changes
- Fix compatibility with the Blynk libary (issue #1914)
- Fix double lookup in
to<JsonVariant>()
- Fix double call to
size()
inserializeMsgPack()
- Include
ARDUINOJSON_SLOT_OFFSET_SIZE
in the namespace name - Show a link to the documentation when user passes an unsupported input type
ArduinoJson 6.21.2
ArduinoJson 6.21.1
Changes
- Double speed of
DynamicJsonDocument::garbageCollect()
- Fix compatibility with GCC 5.2 (issue #1897)