Skip to content

Releases: bblanchon/ArduinoJson

ArduinoJson 5.0.5

30 Oct 22:10
Compare
Choose a tag to compare

Changes since v5.0.4

  • Add overload JsonObjectSuscript::set(value, decimals) (issue #143)
  • Use float instead of double to reduce the size of JsonVariant (issue #134)

Which package to download?

If you are running the official Arduino IDE, download ArduinoJson-v5.0.5.zip.
You can also use the library manager from the IDE, it will download the library for you.

If you are running an alternative IDE (like Energia or Stino), download ArduinoJson-v5.0.5-old-layout.zip
This package has the legacy library layout that was supported by older versions of the Arduino IDE.

ArduinoJson 5.0.4

29 Sep 20:25
Compare
Choose a tag to compare

Changes since v5.0.3

  • Fixed ambiguous overload with JsonArraySubscript and JsonObjectSubscript (issue #122)

Which package to download?

If you are running the official Arduino IDE, download ArduinoJson-v5.0.4.zip.
You can also use the library manager from the IDE, it will download the library for you.

If you are running an alternative IDE (like Energia), download ArduinoJson-v5.0.4-old-layout.zip
This package has the legacy library layout that was supported by older versions of the Arduino IDE.

ArduinoJson 5.0.3

19 Sep 14:41
Compare
Choose a tag to compare

Changes since v5.0.2

  • Fixed printTo(String) which wrote numbers instead of strings (issue #120)
  • Fixed return type of JsonArray::is<T>() and some others (issue #121)

Which package to download?

If you are running the official Arduino IDE, download ArduinoJson-v5.0.3.zip.
You can also use the library manager from the IDE, it will download the library for you.

If you are running an alternative IDE (like Energia), download ArduinoJson-v5.0.3-old-layout.zip
This package has the legacy library layout that was supported by older versions of the Arduino IDE.

ArduinoJson 5.0.2

01 Sep 20:40
Compare
Choose a tag to compare

Changes since v5.0.1

  • Fixed segmentation fault in parseObject(String) and parseArray(String), when the
    StaticJsonBuffer is too small to hold a copy of the string
  • Fixed Clang warning "register specifier is deprecated" (issue #102)
  • Fixed GCC warning "declaration shadows a member" (issue #103)
  • Fixed memory alignment, which made ESP8266 crash (issue #104)
  • Fixed compilation on Visual Studio 2010 and 2012 (issue #107)

Energia: you need to use the alternative package named ArduinoJson-v5.0.2-old-layout.zip

ArduinoJson 5.0.1

24 Aug 13:33
Compare
Choose a tag to compare

Changes since v5.0.0

  • Fixed compilation with Arduino 1.0.6 (issue #99)

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)