ArduinoJson 5.0.7 * Made library easier to use from a CMake project: simply `add_subdirectory(ArduinoJson/src)` * Changed `String` to be a `typedef` of `std::string` (issues #142 and #161) **BREAKING CHANGES**: - `JsonVariant(true).as<String>()` now returns `"true"` instead of `"1"` - `JsonVariant(false).as<String>()` now returns `"false"` instead of `"0"`
Changes since v5.0.6
- Made library easier to use from a CMake project: simply
add_subdirectory(ArduinoJson/src)
- Changed
String
to be atypedef
ofstd::string
(issues #142 and #161)
BREAKING CHANGES:
-
JsonVariant(true).as<String>()
now returns"true"
instead of"1"
-
JsonVariant(false).as<String>()
now returns"false"
instead of"0"
Which package to download?
If you are running the official Arduino IDE, download ArduinoJson-v5.0.7.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.7-old-layout.zip
This package has the legacy library layout that was supported by older versions of the Arduino IDE.