ArduinoJson Version 5

Provided to support existing applications. New projects should use ArduinoJson Version 6.

Attention

Issue with JSON keys (applies to version 5 only)

According to the ArduinoJson docs it should take an internal copy of char* strings, but it doesn’t! This can occur using the _F() macro:

root[_F("offset")] = something;

This won’t work. Instead, use the F() macro:

root[F("offset")] = something;

References

Used by

SoC support

  • esp32

  • esp32c3

  • esp32s2

  • esp32s3

  • esp8266

  • host

  • rp2040

Submodule: ArduinoJson