Subject to changeVersion 6 is currently in beta, so the API
Unless you need the new features of version 6 (e.g. MessagePack), please use version 5.
Version 6 should stay in beta stage until 2019.
Here are the 9 official examples of ArduinoJson. They are available in the "Examples" menu of the Arduino IDE.
This example shows how to deserialize a JSON document with ArduinoJson.View
This example shows how to generate a JSON document with the ArduinoJson library.View
This example shows how to parse a MessagePack input with ArduinoJson.View
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.View
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.View
This example shows how to implement an HTTP server that sends JSON document in the responses.View
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.View
This example shows the different ways you can use
String objects with ArduinoJson.