bblanchon/ArduinoJson

Example on ArduinoJson website crashes at runtime

Closed this issue ยท 1 comments

Description
The example here crashes the microcontroller as the functions do not return "return 1;" and "return lenght;" respectively as can be seen here.

Took me a while to troubleshoot the sudden crashing ๐Ÿ˜…, trusted the example...

Environment

  • Microcontroller: ESP32S3
  • Core/Framework: Arduino framework with espressif32 6.7 platform
  • IDE: Visual Studio Code 1.89.1 with PlatformIO 3.3.3
  • ArduinoJson 7

Hi @NCPlyn,

Thank you very much for reporting this error.
I'm sorry you had to waste much time troubleshooting this.

It should be fixed now.

Best regards,
Benoit