Removal of C++03 support is planned for ArduinoJson 6.21.
Raise your voice if you can't switch to C++11.
ArduinoJson
  • v6
    v5
  • Documentation
  • Assistant
  • Troubleshooter
  • Book
  • News
Version 6

How To's

Document

  • How to determine the capacity of the JsonDocument?
  • How to reuse a JsonDocument?
  • How to merge JSON objects?
  • How to recursively search for a key?

Converters

  • How to create converters for STL containers?
  • How to create converters for IPAddress? 🆕

Communication

  • How to do serial communication between two boards?
  • How to use ArduinoJson with ArduinoMqttClient?
  • How to use ArduinoJson with PubSubClient?

Storage

  • How to store a JSON document in EEPROM?
  • How to append a JSON object to a file?

ArduinoJson on ESP8266 and ESP32

  • How to use ArduinoJson with HTTPClient?
  • How to use external RAM on ESP32?
  • How to use string_view on ESP32?

Deserialization

  • How to change the timeout when reading from a Stream?
  • How to deserialize a very large document?
  • How to debug data coming from a stream?
  • How to validate a JSON document?

Serialization

  • How to configure the serialization of floats?
  • How to compute the hash of a JSON document?

Optimizations

  • How to reduce memory usage?
  • How to improve (de)serialization speed?

Misc

  • How to use ArduinoJson with CMake?
  • How to download the latest edition of Mastering ArduinoJson?
  • How to get the library version? 🆕

Cannot find what you’re looking for?

  1. Home
  2. Version 6
  3. How To's
ArduinoJson
A JSON library for embedded C++.
Simple, efficient, and versatile.
Copyright 2014-2023 © Benoît Blanchon
Newsletter
Stay informed of the major changes.
GitHub
About Contact Privacy