Skip to content

Releases: bblanchon/ArduinoJson

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.

ArduinoJson 4.2

07 Feb 19:54
Compare
Choose a tag to compare

Changes since v4.1

  • Switched back to old library layout (issues #39, #43 and #45)
  • Removed global new operator overload (issue #40, #45 and #46)
  • Added an example with EthernetServer

The documentation is in the wiki.

ArduinoJson 4.1

21 Dec 14:30
Compare
Choose a tag to compare

Changes compared to 4.0:

  • Added DynamicJsonBuffer (issue #19)

Packages:

ArduinoJson 4.0

29 Nov 13:35
Compare
Choose a tag to compare

Changes compared to 3.4:

  • Unified parser and generator API (issue #23)
  • Updated library layout, now requires Arduino 1.0.6 or newer

BREAKING CHANGE: API changed significantly, see doc/Migrating to the new API.md.

Requires Arduino IDE 1.0.6 or above.

ArduinoJson 4.0 beta 1

11 Nov 17:51
Compare
Choose a tag to compare
Pre-release

Changes compared to 3.4:

  • Unified parser and generator API (issue #23)
  • Updated library layout, now requires Arduino 1.0.6 or newer

BREAKING CHANGE: API changed significantly, see doc/Migrating to the new API.md.

ArduinoJson 3.4

09 Sep 19:36
Compare
Choose a tag to compare

Changes compared to 3.3:

  • Fixed escaped char parsing (issue #16)

How to install?

To use this library with the Arduino IDE, you need to unzip the attached file into

<path_to_your_sketches>/libraries/

ArduinoJson 3.3

01 Sep 19:46
Compare
Choose a tag to compare

Changes compared to 3.2:

  • Added indented output for the JSON generator, see example bellow.
  • Added IndentedPrint, a decorator for Print to allow indented output

Example:

JsonOject<2> json;
json["key"] = "value";
json.prettyPrintTo(Serial);

How to install?

To use this library with the Arduino IDE, you need to unzip the attached file into

<path_to_your_sketches>/libraries/

ArduinoJson 3.2

04 Aug 13:26
Compare
Choose a tag to compare

Changes compared to 3.1:

  • Fixed a bug when adding nested object in JsonArray (bug introduced in v3.1).

How to install?

To use this library with the Arduino IDE, you need to unzip the attached file into

<path_to_your_sketches>/libraries/

ArduinoJson 3.1

03 Aug 13:59
Compare
Choose a tag to compare

Changes compared to 3.0:

  • Calling Generator::JsonObject::add() twice with the same key now replaces the value
  • Added Generator::JsonObject::operator[], see bellow the new API
  • Added Generator::JsonObject::remove()

Old generator API:

JsonObject<3> root; 
root.add("sensor", "gps");
root.add("time", 1351824120);
root.add("data", array);

New generator API:

JsonObject<3> root; 
root["sensor"] = "gps";
root["time"] = 1351824120;
root["data"] = array;

How to install?

To use this library with the Arduino IDE, you need to unzip the attached file into

<path_to_your_sketches>/libraries/