Here are the eight official examples of ArduinoJson. They are available in the “Examples” menu of the Arduino IDE.

JsonParserExample.ino
This example shows how to deserialize a JSON document with ArduinoJson.
JsonGeneratorExample.ino
This example shows how to generate a JSON document with the ArduinoJson library.
JsonHttpClient.ino
This example shows how to parse a JSON document in an HTTP response. It uses the Ethernet library, but can be easily adapted for Wifi.
JsonUdpBeacon.ino
This example shows how to send a JSON document to a UDP socket. It uses the Ethernet library but could easily be changed to support Wifi.
JsonServer.ino
This example shows how to implement an HTTP server that sends JSON document in the responses.
JsonConfigFile.ino
This example shows how to store your project configuration in a file. It uses the SD library but can be easily modified for any other file-system.
StringExample.ino
This example shows the different ways you can use String objects with ArduinoJson.
ProgmemExample.ino
This example shows the different ways you can use Flash strings with ArduinoJson.

Looking for a better way to learn?

Mastering ArduinoJson

Check out our free ebook Mastering ArduinoJson!

Although it does not contain an exhaustive list of function like this page, the book is a more convenient and more pleasant way to learn how to use the library.

It contains step-by-step tutorials to learn how to serialize or parse JSON with ArduinoJson. It also explains how `StaticJsonBuffer` and `DynamicJsonBuffer` work, and how to choose between them.

If C++ is not your strength, you will appreciate the quick C++ course which will help you catch up with pointers, references, and other subtilities.