Releases: bblanchon/ArduinoJson
ArduinoJson 5.0.0
Changes since v4.6.1
- Added support of
String
class (issues #55, #56, #70, #77) - Added
JsonBuffer::strdup()
to make a copy of a string (issues #10, #57) - Implicitly call
strdup()
forString
but not forchar*
(issues #84, #87) - Added support of non standard JSON input (issue #44)
- Added support of comments in JSON input (issue #88)
- Added implicit cast between numerical types (issues #64, #69, #93)
- Added ability to read number values as string (issue #90)
- Redesigned
JsonVariant
to leverage converting constructors instead of assignment operators (issue #66) - Switched to new the library layout (requires Arduino 1.0.6 or above)
BREAKING CHANGES:
JsonObject::add()
was renamed toset()
JsonArray::at()
andJsonObject::at()
were renamed toget()
- Number of digits of floating point value are now set with
double_with_n_digits()
Personal note about the String
class:
Support of the String
class has been added to the library because many people use it in their programs.
However, you should not see this as an invitation to use the String
class.
The String
class is bad because it uses dynamic memory allocation.
Compared to static allocation, it compiles to a bigger, slower program, and is less predictable.
You certainly don't want that in an embedded environment!
ArduinoJson 5.0 beta 5
ArduinoJson 4.6.1
Changes since v4.5
- Fixed segmentation fault in
DynamicJsonBuffer
when memory allocation fails (issue #92)
ArduinoJson 5.0 beta 4
Changes since v5.0-beta-3
- Added support of comments in JSON input (issue #88)
ArduinoJson 5.0 beta 3
ArduinoJson 5.0 beta 2
ArduinoJson 4.5
Changes since v4.4
- Fixed buffer overflow when input contains a backslash followed by a terminator (issue #81)
Upgrading is recommended since previous versions contain a potential security risk.
ArduinoJson 5.0 beta 1
Changes since v4.4
- Added support of
String
class (issue #55, #56, #70, #77) - Redesigned
JsonVariant
to leverage converting constructors instead of assignment operators - Switched to new library layout (requires Arduino 1.0.6 or above)
BREAKING CHANGES:
JsonObject::add()
was renamed toset()
JsonArray::at()
andJsonObject::at()
were renamed toget()
- Number of digits of floating point value are now set with
double_with_n_digits()
Personal note about the String
class:
Support of the String
class has been added to the library because many people use it in their programs.
However, you should not see this as an invitation to use the String
class.
The String
class is bad because it uses dynamic memory allocation.
Compared to static allocation, it compiles to a bigger, slower program, and is less predicatable.
You certainly don't want that in an embedded environment!
CAUTION: the documentation on the wiki hasn't been updated yet.
ArduinoJson 4.4
Changes since v4.3
- Added
JsonArray::measureLength()
andJsonObject::measureLength()
(issue #75)