Updated Using the library without Arduino (markdown)

Benoît Blanchon
2017-01-05 21:15:54 +01:00
parent 1aff8bbcd8
commit 4df2cc0b1a

@@ -1,34 +1,8 @@
This library is primarily design to be used with the Arduino IDE and therefore has a simplified setup procedure for that environment. ArduinoJson is a header-only library, so you just need to [download](https://github.com/bblanchon/ArduinoJson/releases) the package and unzip it in a convenient location.
If you use the Arduino IDE, please read [Using the library with Arduino](Using the library with Arduino).
However, it can be used without Arduino IDE with very little effort. Then add the `include/` folder to your compiler's or your IDE's include directories.
## Compiling the library See next:
Step 1: Download source code:
git clone https://github.com/bblanchon/ArduinoJson.git
Step 2: Generate the `Makefile` for your environment
cd ArduinoJson
cmake .
Step 3: Build
make
## File paths
Assuming you installed the library into `<arduino-json>`, you need to add:
1. `<arduino-json>/include` to your include path
2. `<arduino-json>/lib` to your library path
----------
You are now ready to follow the instructions:
1. [Parsing JSON](Decoding-JSON) 1. [Parsing JSON](Decoding-JSON)
2. [Generating JSON](Encoding-JSON) 2. [Generating JSON](Encoding-JSON)