Field note
What it does
ArduinoJson is a C++ JSON library for Arduino and embedded systems, enabling deserialization and serialization of JSON documents.
Capabilities
Available capabilities
Tags
Tags
Ways to use it
Ways to use it
C++ / ArduinoJson
ArduinoJson is a C++ JSON library for Arduino and embedded systems, enabling deserialization and serialization of JSON documents.
Field note
ArduinoJson is a C++ JSON library for Arduino and embedded systems, enabling deserialization and serialization of JSON documents.
Capabilities
Tags
Ways to use it
C++ / ArduinoJson
Product features
Detailed documentation of each function.
The book is written by Benoît Blanchon, the creator of ArduinoJson.
Settings to configure the library.
Covers everything from basic usage to advanced techniques.
Includes a quick C++ course for beginners.
Set fallback values for missing or type-mismatched fields using the pipe operator.
Step-by-step guide on how to parse a JSON document using the library.
Parse JSON input into a JsonDocument.
Check DeserializationError and handle extraction errors with default values.
Complete programs showing usage in various situations.
Access members and array elements with square brackets and implicit type conversion.
Answers to frequent questions.
Recipes and techniques to use ArduinoJson in your project.
Parse JSON in an HTTP response using Ethernet library.
Implement an HTTP server that sends JSON in responses.
A reference to a JSON array in a JsonDocument.
Owns the memory for JsonArray, JsonObject and JsonVariant.
Example showing how to generate a JSON document.
A reference to a JSON object in a JsonDocument.
Example showing how to deserialize a JSON document.
A reference to a JSON value (array, object, integer…) in a JsonDocument.
Use JsonArray, JsonObject, and JsonVariant to reference values in the document.
Changes between versions.
Stores const char* by copy but string literals by reference.
Provides sample projects to illustrate best practices.
Step-by-step guide on how to generate a JSON document using the library.
Produces minified JSON output.
Produces indented JSON output.
Cuts array size in half on 32-bit platforms.
Deduplicates identical strings to save memory.
Optimizes memory for strings of three characters or less.
Step-by-step guides for deserialization and serialization.
Send JSON to a UDP socket.