A new revision of ArduinoJson is available, it fixes the following bugs:

  1. JsonBuffer::parse() was not respecting the nestingLimit consistenly
  2. Under certain conditions NULL values could be pass to strcmp(), causing an undefined behavior.

The following macros have been added:

  1. ARDUINOJSON_VERSION = "5.13.2
  2. ARDUINOJSON_VERSION_MAJOR = 5
  3. ARDUINOJSON_VERSION_MINOR = 13
  4. ARDUINOJSON_VERSION_REVISION = 2

You can use these values to detect if the right version of ArduinoJson is installed. It is very important to add this check because ArduinoJson 6 will have a very different API.

As usual, you can try the library on wandbox.org:

Stay informed!

...or subscribe to the RSS feed