ArduinoJson v6.15.2 Release Notes
Release Date: 2020-05-15 // almost 4 years ago-
๐ Changes since 6.15.1
- ๐ CMake: don't build tests when imported in another project
- CMake: made project arch-independent
- ๐ Visual Studio: fixed error C2766 with flag
/Zc:__cplusplus
(issue #1250) - โ Added support for
JsonDocument
tocopyArray()
(issue #1255) - โ Added support for
enum
s inas<T>()
andis<T>()
(issue #1256) - โ Added
JsonVariant
as an input type fordeserializeXxx()
๐ฐ For example, you can do:deserializeJson(doc2, doc1["payload"])
- ๐ Break the build if using 64-bit integers with ARDUINOJSON_USE_LONG_LONG==0
How to install
There are several ways to install ArduinoJson, from simpler to more complex:
- Use the Arduino Library Manager or equivalent
- Download
ArduinoJson-v6.15.2.h
put it in your project folder - Download
ArduinoJson-v6.15.2.zip
and extract it in youlibraries
folder
Note:
ArduinoJson-v6.15.2.h
andArduinoJson-v6.15.2.hpp
are almost identical; the difference is that the.hpp
keeps everything in theArduinoJson
namespace.Try online