mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 12:02:14 +02:00
Changed all link to point to HTTPS version
This commit is contained in:
2
.github/ISSUE_TEMPLATE.md
vendored
2
.github/ISSUE_TEMPLATE.md
vendored
@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
Before opening an issue, please read the FAQ:
|
Before opening an issue, please read the FAQ:
|
||||||
http://arduinojson.org/faq/
|
https://arduinojson.org/faq/
|
||||||
|
|
||||||
Please provide all the relevant information:
|
Please provide all the relevant information:
|
||||||
* good title
|
* good title
|
||||||
|
@ -433,5 +433,5 @@ v4.0
|
|||||||
|
|
||||||
> ### BREAKING CHANGES :warning:
|
> ### BREAKING CHANGES :warning:
|
||||||
>
|
>
|
||||||
> API changed significantly since v3, see [Migrating code to the new API](http://arduinojson.org/doc/migration/).
|
> API changed significantly since v3, see [Migrating code to the new API](https://arduinojson.org/doc/migration/).
|
||||||
|
|
||||||
|
14
README.md
14
README.md
@ -25,7 +25,7 @@ Features
|
|||||||
* Small footprint
|
* Small footprint
|
||||||
* Header-only library
|
* Header-only library
|
||||||
* MIT License
|
* MIT License
|
||||||
* [Comprehensive documentation](http://arduinojson.org)
|
* [Comprehensive documentation](https://arduinojson.org)
|
||||||
|
|
||||||
Works on
|
Works on
|
||||||
--------
|
--------
|
||||||
@ -59,9 +59,9 @@ double latitude = root["data"][0];
|
|||||||
double longitude = root["data"][1];
|
double longitude = root["data"][1];
|
||||||
```
|
```
|
||||||
|
|
||||||
[See JsonParserExample.ino](http://arduinojson.org/example/parser/)
|
[See JsonParserExample.ino](https://arduinojson.org/example/parser/)
|
||||||
|
|
||||||
Use [ArduinoJson Assistant](http://arduinojson.org/assistant/) to compute the buffer size.
|
Use [ArduinoJson Assistant](https://arduinojson.org/assistant/) to compute the buffer size.
|
||||||
|
|
||||||
#### Encoding / Generating
|
#### Encoding / Generating
|
||||||
|
|
||||||
@ -81,17 +81,17 @@ root.printTo(Serial);
|
|||||||
// {"sensor":"gps","time":1351824120,"data":[48.756080,2.302038]}
|
// {"sensor":"gps","time":1351824120,"data":[48.756080,2.302038]}
|
||||||
```
|
```
|
||||||
|
|
||||||
[See JsonGeneratorExample.ino](http://arduinojson.org/example/generator/)
|
[See JsonGeneratorExample.ino](https://arduinojson.org/example/generator/)
|
||||||
|
|
||||||
Use [ArduinoJson Assistant](http://arduinojson.org/assistant/) to compute the buffer size.
|
Use [ArduinoJson Assistant](https://arduinojson.org/assistant/) to compute the buffer size.
|
||||||
|
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
The documentation is available online in the [ArduinoJson Website](http://arduinojson.org/).
|
The documentation is available online in the [ArduinoJson Website](https://arduinojson.org/).
|
||||||
|
|
||||||
The [ArduinoJson Assistant](http://arduinojson.org/assistant/) helps you get started with the library.
|
The [ArduinoJson Assistant](https://arduinojson.org/assistant/) helps you get started with the library.
|
||||||
|
|
||||||
|
|
||||||
Donators
|
Donators
|
||||||
|
@ -6,8 +6,8 @@ We'll be very happy to help you, but first please read the following.
|
|||||||
|
|
||||||
## Before asking for help
|
## Before asking for help
|
||||||
|
|
||||||
1. Read the [FAQ](http://arduinojson.org/faq/)
|
1. Read the [FAQ](https://arduinojson.org/faq/)
|
||||||
2. Search in the [API Reference](http://arduinojson.org/api/)
|
2. Search in the [API Reference](https://arduinojson.org/api/)
|
||||||
|
|
||||||
If you did not find the answer, please create a [new issue on GitHub](https://github.com/bblanchon/ArduinoJson/issues/new).
|
If you did not find the answer, please create a [new issue on GitHub](https://github.com/bblanchon/ArduinoJson/issues/new).
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ void loadConfiguration(const char *filename, Config &config) {
|
|||||||
|
|
||||||
// Allocate the memory pool on the stack.
|
// Allocate the memory pool on the stack.
|
||||||
// Don't forget to change the capacity to match your JSON document.
|
// Don't forget to change the capacity to match your JSON document.
|
||||||
// Use https://arduinojson.org/assistant/ to compute the capacity.
|
// Use arduinojson.org/assistant to compute the capacity.
|
||||||
StaticJsonBuffer<512> jsonBuffer;
|
StaticJsonBuffer<512> jsonBuffer;
|
||||||
|
|
||||||
// Parse the root object
|
// Parse the root object
|
||||||
|
@ -15,7 +15,7 @@ void setup() {
|
|||||||
//
|
//
|
||||||
// Inside the brackets, 200 is the size of the pool in bytes.
|
// Inside the brackets, 200 is the size of the pool in bytes.
|
||||||
// Don't forget to change this value to match your JSON document.
|
// Don't forget to change this value to match your JSON document.
|
||||||
// See https://arduinojson.org/assistant/
|
// Use arduinojson.org/assistant to compute the capacity.
|
||||||
StaticJsonBuffer<200> jsonBuffer;
|
StaticJsonBuffer<200> jsonBuffer;
|
||||||
|
|
||||||
// StaticJsonBuffer allocates memory on the stack, it can be
|
// StaticJsonBuffer allocates memory on the stack, it can be
|
||||||
|
@ -71,7 +71,7 @@ void setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Allocate JsonBuffer
|
// Allocate JsonBuffer
|
||||||
// (see https://arduinojson.org/assistant/ to compute the capacity)
|
// Use arduinojson.org/assistant to compute the capacity.
|
||||||
const size_t capacity = JSON_OBJECT_SIZE(3) + JSON_ARRAY_SIZE(2) + 60;
|
const size_t capacity = JSON_OBJECT_SIZE(3) + JSON_ARRAY_SIZE(2) + 60;
|
||||||
DynamicJsonBuffer jsonBuffer(capacity);
|
DynamicJsonBuffer jsonBuffer(capacity);
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ void setup() {
|
|||||||
//
|
//
|
||||||
// Inside the brackets, 200 is the size of the pool in bytes.
|
// Inside the brackets, 200 is the size of the pool in bytes.
|
||||||
// Don't forget to change this value to match your JSON document.
|
// Don't forget to change this value to match your JSON document.
|
||||||
// See https://arduinojson.org/assistant/
|
// Use arduinojson.org/assistant to compute the capacity.
|
||||||
StaticJsonBuffer<200> jsonBuffer;
|
StaticJsonBuffer<200> jsonBuffer;
|
||||||
|
|
||||||
// StaticJsonBuffer allocates memory on the stack, it can be
|
// StaticJsonBuffer allocates memory on the stack, it can be
|
||||||
|
@ -52,7 +52,7 @@ void loop() {
|
|||||||
while (client.available()) client.read();
|
while (client.available()) client.read();
|
||||||
|
|
||||||
// Allocate JsonBuffer
|
// Allocate JsonBuffer
|
||||||
// Use http://arduinojson.org/assistant/ to compute the right capacity
|
// Use arduinojson.org/assistant to compute the capacity.
|
||||||
StaticJsonBuffer<500> jsonBuffer;
|
StaticJsonBuffer<500> jsonBuffer;
|
||||||
|
|
||||||
// Create the root object
|
// Create the root object
|
||||||
|
@ -44,7 +44,7 @@ void setup() {
|
|||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
// Allocate JsonBuffer
|
// Allocate JsonBuffer
|
||||||
// Use http://arduinojson.org/assistant/ to compute the right capacity.
|
// Use arduinojson.org/assistant to compute the capacity.
|
||||||
StaticJsonBuffer<500> jsonBuffer;
|
StaticJsonBuffer<500> jsonBuffer;
|
||||||
|
|
||||||
// Create the root object
|
// Create the root object
|
||||||
|
@ -5,5 +5,5 @@ maintainer=Benoit Blanchon <blog.benoitblanchon.fr>
|
|||||||
sentence=An efficient and elegant JSON library for Arduino.
|
sentence=An efficient and elegant JSON library for Arduino.
|
||||||
paragraph=Like this project? Please star it on GitHub!
|
paragraph=Like this project? Please star it on GitHub!
|
||||||
category=Data Processing
|
category=Data Processing
|
||||||
url=http://arduinojson.org/
|
url=https://arduinojson.org/
|
||||||
architectures=*
|
architectures=*
|
||||||
|
Reference in New Issue
Block a user