Update links to arduinojson.org

Benoit Blanchon
2017-11-13 17:01:10 +01:00
parent 15eaeb48fa
commit 3692956481
12 changed files with 11 additions and 67 deletions

@@ -1 +1 @@
🚚 This page has been moved to https://bblanchon.github.io/ArduinoJson/api/ 🚚 🚚 This page has been moved to https://arduinojson.org/api/ 🚚

@@ -1 +1 @@
🚚 This page has been moved to https://bblanchon.github.io/ArduinoJson/doc/pitfalls/ 🚚 🚚 This page has been moved to https://arduinojson.org/doc/pitfalls/ 🚚

@@ -1 +1 @@
🚚 This page has been moved to https://bblanchon.github.io/ArduinoJson/faq/ 🚚 🚚 This page has been moved to https://arduinojson.org/faq/ 🚚

@@ -1 +1 @@
🚚 This page has been moved to https://bblanchon.github.io/ArduinoJson/doc/decoding/ 🚚 🚚 This page has been moved to https://arduinojson.org/doc/decoding/ 🚚

@@ -1 +1 @@
🚚 This page has been moved to https://bblanchon.github.io/ArduinoJson/doc/encoding/ 🚚 🚚 This page has been moved to https://arduinojson.org/doc/encoding/ 🚚

2
FAQ.md

@@ -1 +1 @@
🚚 The FAQ has been moved to https://bblanchon.github.io/ArduinoJson/faq/ 🚚 🚚 The FAQ has been moved to https://arduinojson.org/faq/ 🚚

19
Home.md

@@ -1,25 +1,6 @@
:warning: Most of the content of the wiki is now in [arduinojson.org](http://arduinojson.org). :warning: Most of the content of the wiki is now in [arduinojson.org](http://arduinojson.org).
- [[Quick start]]
#### User guide
- [Installation](http://arduinojson.org/doc/installation/)
- [Decoding JSON](http://arduinojson.org/doc/decoding/)
- [Encoding JSON](http://arduinojson.org/doc/encoding/)
- [Memory model](http://arduinojson.org/doc/memory/)
- [Avoiding pitfalls](http://arduinojson.org/doc/pitfalls/)
- [API Reference](http://arduinojson.org/api/)
- ~~[[Migrating code to the new API]]~~ (obsolete) - ~~[[Migrating code to the new API]]~~ (obsolete)
#### Resources
- [F.A.Q (Frequently Asked Questions) :confused:](http://arduinojson.org/faq/)
- [Examples](http://arduinojson.org/example/)
- [[Bag of Tricks]] - [[Bag of Tricks]]
- [ArduinoJson Assistant](http://arduinojson.org/assistant/)
#### Misc
- [[Projects using ArduinoJson]] - [[Projects using ArduinoJson]]
- [Donations](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=donate%40benoitblanchon%2efr&lc=GB&item_name=Benoit%20Blanchon&item_number=Arduino%20JSON&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted) :beers: - [Donations](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=donate%40benoitblanchon%2efr&lc=GB&item_name=Benoit%20Blanchon&item_number=Arduino%20JSON&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted) :beers:

@@ -1 +1 @@
🚚 This page has been moved to https://bblanchon.github.io/ArduinoJson/doc/memory/ 🚚 🚚 This page has been moved to https://arduinojson.org/doc/memory/ 🚚

@@ -1,38 +1 @@
#include <ArduinoJson.h> 🚚 This page has been moved to https://arduinojson.org/doc/quickstart/ 🚚
#### Decoding / Parsing
```c++
char json[] = "{\"sensor\":\"gps\",\"time\":1351824120,\"data\":[48.756080,2.302038]}";
StaticJsonBuffer<200> jsonBuffer;
JsonObject& root = jsonBuffer.parseObject(json);
const char* sensor = root["sensor"];
long time = root["time"];
double latitude = root["data"][0];
double longitude = root["data"][1];
```
[See complete guide](https://bblanchon.github.io/ArduinoJson/doc/decoding/)
#### Encoding / Generating
```c++
StaticJsonBuffer<200> jsonBuffer;
JsonObject& root = jsonBuffer.createObject();
root["sensor"] = "gps";
root["time"] = 1351824120;
JsonArray& data = root.createNestedArray("data");
data.add(48.756080, 6); // 6 is the number of decimals to print
data.add(2.302038, 6); // if not specified, 2 digits are printed
root.printTo(Serial);
// This prints:
// {"sensor":"gps","time":1351824120,"data":[48.756080,2.302038]}
```
[See complete guide](https://bblanchon.github.io/ArduinoJson/doc/encoding/)

@@ -1 +1 @@
🚚 This page has been moved to https://bblanchon.github.io/ArduinoJson/doc/installation/ 🚚 🚚 This page has been moved to https://arduinojson.org/doc/installation/ 🚚

@@ -1 +1 @@
🚚 This page has been moved to https://bblanchon.github.io/ArduinoJson/doc/installation/ 🚚 🚚 This page has been moved to https://arduinojson.org/doc/installation/ 🚚

@@ -1 +1 @@
🚚 This page has been moved to https://bblanchon.github.io/ArduinoJson/doc/installation/ 🚚 🚚 This page has been moved to https://arduinojson.org/doc/installation/ 🚚