Arduino Zero, mkr1000 and all boards based on SAMD21
This page covers ArduinoJson 5.13.5, consider upgrading to version 6.21.2.
There is a bug in Arduino SAMD core that make
prettyPrintTo() fail (issue #327)
It’s been fixed on May 27th by arduino/[email protected] and arduino/[email protected]. Unfortunately, version 1.6.6 only includes modifications up to May 19th, so the fix is not available through the Arduino Boards Manager.
I recommend to apply the modification manually or wait until the next release of the Arduino SAMD Core.
The files to change are
They are located here on Windows: