Skip to content

Releases: bblanchon/ArduinoJson

ArduinoJson 5.0.0

20 Aug 13:31
Compare
Choose a tag to compare

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() for String but not for char* (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 to set()
  • JsonArray::at() and JsonObject::at() were renamed to get()
  • 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

10 Aug 15:25
Compare
Choose a tag to compare
Pre-release

Changes since v5.0-beta-4

  • Added implicit cast between numerical types (issues #64, #69, #93)
  • Added ability to read number values as string (issue #90)

ArduinoJson 4.6.1

02 Aug 07:26
Compare
Choose a tag to compare

Changes since v4.5

  • Fixed segmentation fault in DynamicJsonBuffer when memory allocation fails (issue #92)

ArduinoJson 5.0 beta 4

27 Jul 20:21
Compare
Choose a tag to compare
Pre-release

Changes since v5.0-beta-3

  • Added support of comments in JSON input (issue #88)

ArduinoJson 5.0 beta 3

25 Jul 14:10
Compare
Choose a tag to compare
Pre-release

Changes since v5.0-beta-2

  • Added JsonBuffer::strdup() to make a copy of a string (issues #10, #57)
  • Implicitly call strdup() for String but not for char* (issues #84, #87)

ArduinoJson 5.0 beta 2

10 Jul 20:16
Compare
Choose a tag to compare
Pre-release

Changes since v5.0-beta-1

  • Added support of non standard JSON input (issue #44)
  • Fixed buffer overflow when input contains a backslash followed by a terminator (issue #81)

ArduinoJson 4.5

10 Jun 19:36
Compare
Choose a tag to compare

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.

The documentation is in the wiki.

ArduinoJson 5.0 beta 1

31 May 12:41
Compare
Choose a tag to compare
Pre-release

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 to set()
  • JsonArray::at() and JsonObject::at() were renamed to get()
  • 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

09 May 14:56
Compare
Choose a tag to compare

Changes since v4.3

  • Added JsonArray::measureLength() and JsonObject::measureLength() (issue #75)

The documentation is in the wiki.

ArduinoJson 4.3

03 May 13:57
Compare
Choose a tag to compare

Changes since v4.2

  • Added JsonArray::removeAt() to remove an element of an array (issue #58)
  • Fixed stack-overflow in DynamicJsonBuffer when parsing huge JSON files (issue #65)
  • Fixed wrong return value of parseArray() and parseObject() when allocation fails (issue #68)

The documentation is in the wiki.