Added a header to simplify library usage

This commit is contained in:
Benoit Blanchon
2014-11-11 16:54:46 +01:00
parent e0ce711eb4
commit f6f8a63b99
25 changed files with 34 additions and 119 deletions

View File

@ -28,19 +28,6 @@ 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
## Headers
The following headers are required:
#include <ArduinoJson/JsonArray.hpp>
#include <ArduinoJson/JsonObject.hpp>
#include <ArduinoJson/StaticJsonBuffer.hpp>
## Namespace
Every class of the library is declared in the `ArduinoJson` namespace, so you may want to add the following line after the `#include` statements:
using namespace ArduinoJson;
----------