Files
ArduinoJson/doc/Using the library with Arduino.md
2014-11-29 13:53:18 +01:00

896 B

Using the library with Arduino

This library is primarily design to be used with the Arduino IDE and therefore has a simplified setup procedure for that environment. If you don't use the Arduino IDE, please read [Using the library without Arduino](Using the library without Arduino.md).

Install the library

Download the zip package and extract it to:

<your Arduino Sketch folder>/libraries/ArduinoJson

Then restart the Arduino IDE.

Run the examples sketches

Click File / Example / ArduinoJson.

Screen capture of Arduino IDE

Use the library in your sketches

Just add the following line at the top of your program:

#include <ArduinoJson.h>

Then follow the instructions:

  1. [Parsing JSON](Parsin JSON.md)
  2. [Generating JSON](Generating JSON.md)