forked from bblanchon/ArduinoJson
Changed all link to point to HTTPS version
This commit is contained in:
@ -31,7 +31,7 @@ void loadConfiguration(const char *filename, Config &config) {
|
||||
|
||||
// Allocate the memory pool on the stack.
|
||||
// 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;
|
||||
|
||||
// Parse the root object
|
||||
|
@ -15,7 +15,7 @@ void setup() {
|
||||
//
|
||||
// Inside the brackets, 200 is the size of the pool in bytes.
|
||||
// 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 allocates memory on the stack, it can be
|
||||
|
@ -71,7 +71,7 @@ void setup() {
|
||||
}
|
||||
|
||||
// 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;
|
||||
DynamicJsonBuffer jsonBuffer(capacity);
|
||||
|
||||
|
@ -15,7 +15,7 @@ void setup() {
|
||||
//
|
||||
// Inside the brackets, 200 is the size of the pool in bytes.
|
||||
// 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 allocates memory on the stack, it can be
|
||||
|
@ -52,7 +52,7 @@ void loop() {
|
||||
while (client.available()) client.read();
|
||||
|
||||
// Allocate JsonBuffer
|
||||
// Use http://arduinojson.org/assistant/ to compute the right capacity
|
||||
// Use arduinojson.org/assistant to compute the capacity.
|
||||
StaticJsonBuffer<500> jsonBuffer;
|
||||
|
||||
// Create the root object
|
||||
|
@ -44,7 +44,7 @@ void setup() {
|
||||
|
||||
void loop() {
|
||||
// Allocate JsonBuffer
|
||||
// Use http://arduinojson.org/assistant/ to compute the right capacity.
|
||||
// Use arduinojson.org/assistant to compute the capacity.
|
||||
StaticJsonBuffer<500> jsonBuffer;
|
||||
|
||||
// Create the root object
|
||||
|
Reference in New Issue
Block a user