Installation | ArduinoJson 6

  • Documentation
  • Installation
  • Deserialization tutorial
  • Serialization tutorial
  • Examples
  • API Reference
  • How To's
  • FAQ
  • Release notes
  • Common errors and problems
  • Known issues
  • Upgrade guide

Here are the common ways to install ArduinoJson.

Option 1: Use the Arduino Library Manager

Difficulty: ⚫⚪⚪

Recommendation: Use this method if you use Arduino 1.6.x or newer.

Instructions:

  • Open the Arduino Library Manager
  • Search for “ArduinoJson”
  • Select the version: 6.21.5
  • Click install.

See the video

Option 2: Download the single header

Difficulty: ⚫⚫⚪

Recommendation: Use this method if you don’t use Arduino.

Instructions:

  • Download ArduinoJson-v6.21.5.h
  • Save the file alongside with your .cpp files

Option 3: Clone the repository

Difficulty: ⚫⚫⚫

Recommendation: Use this method if you want to make a Pull Request or use features that have not been released yet.

Instructions:

  • Run the command git clone https://github.com/bblanchon/ArduinoJson.git
  • Configure your compiler to add the folder ArduinoJson/src/ to the list of include folders (-I /path/to/ArduinoJson/src/ on GCC command line)

See also

  • How to use ArduinoJson with CMake?
  1. Home
  2. Version 6
  3. Installation
Global warming stripes by Professor Ed Hawkins (University of Reading)

Tag » Arduino Json 6 Download