Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • You can also use containsKey... But in general when you are messing with pointers, you have to take a nullptr into account. Or use exceptions if enabled Commented Feb 16 at 15:11
  • This doesn't replicate here on a ESP32-S3 under ESP32 Arduino core v3.1.1 and ArduinoJson v7.3.0 Commented Feb 16 at 16:40
  • @timemage Surprisingly the exact same code with the same version of Arduino IDE, ESP32 core and ArduinoJson, even with the same ESP32 didn't throw an error when uploading the sketch from my laptop. Commented Feb 16 at 19:25