mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 10:17:39 +02:00
Changed all links to point to arduinojson.org
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:
|
||||||
https://bblanchon.github.io/ArduinoJson/faq/
|
http://arduinojson.org/faq/
|
||||||
|
|
||||||
Please provide all the relevant information:
|
Please provide all the relevant information:
|
||||||
* good title
|
* good title
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include "src/ArduinoJson.h"
|
#include "src/ArduinoJson.h"
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
# ArduinoJson - arduinojson.org
|
||||||
# Copyright Benoit Blanchon 2014-2017
|
# Copyright Benoit Blanchon 2014-2017
|
||||||
# MIT License
|
# MIT License
|
||||||
#
|
|
||||||
# Arduino JSON library
|
|
||||||
# https://bblanchon.github.io/ArduinoJson/
|
|
||||||
# If you like this project, please add a star!
|
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.0)
|
||||||
project(ArduinoJson)
|
project(ArduinoJson)
|
||||||
|
13
README.md
13
README.md
@ -25,6 +25,7 @@ Features
|
|||||||
* Small footprint
|
* Small footprint
|
||||||
* Header-only library
|
* Header-only library
|
||||||
* MIT License
|
* MIT License
|
||||||
|
* [Comprehensive documentation](http://arduinojson.org)
|
||||||
|
|
||||||
Works on
|
Works on
|
||||||
--------
|
--------
|
||||||
@ -58,9 +59,9 @@ double latitude = root["data"][0];
|
|||||||
double longitude = root["data"][1];
|
double longitude = root["data"][1];
|
||||||
```
|
```
|
||||||
|
|
||||||
[See JsonParserExample.ino](examples/JsonParserExample/JsonParserExample.ino)
|
[See JsonParserExample.ino](http://arduinojson.org/example/parser/)
|
||||||
|
|
||||||
Use [ArduinoJson Assistant](https://bblanchon.github.io/ArduinoJson/assistant/) to compute the buffer size.
|
Use [ArduinoJson Assistant](http://arduinojson.org/assistant/) to compute the buffer size.
|
||||||
|
|
||||||
#### Encoding / Generating
|
#### Encoding / Generating
|
||||||
|
|
||||||
@ -80,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](examples/JsonGeneratorExample/JsonGeneratorExample.ino)
|
[See JsonGeneratorExample.ino](http://arduinojson.org/example/generator/)
|
||||||
|
|
||||||
Use [ArduinoJson Assistant](https://bblanchon.github.io/ArduinoJson/assistant/) to compute the buffer size.
|
Use [ArduinoJson Assistant](http://arduinojson.org/assistant/) to compute the buffer size.
|
||||||
|
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
The documentation is available online in the [ArduinoJson Website](https://bblanchon.github.io/ArduinoJson/).
|
The documentation is available online in the [ArduinoJson Website](http://arduinojson.org/).
|
||||||
|
|
||||||
The [ArduinoJson Assistant](https://bblanchon.github.io/ArduinoJson/assistant/) helps you get started with the library.
|
The [ArduinoJson Assistant](http://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](https://bblanchon.github.io/ArduinoJson/faq/)
|
1. Read the [FAQ](http://arduinojson.org/faq/)
|
||||||
2. Search in the [API Reference](https://bblanchon.github.io/ArduinoJson/api/)
|
2. Search in the [API Reference](http://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).
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
|
|
||||||
@ -17,7 +14,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.
|
||||||
// If the JSON object is more complex, you need to increase that value.
|
// If the JSON object is more complex, you need to increase that value.
|
||||||
// See https://bblanchon.github.io/ArduinoJson/assistant/
|
// See http://arduinojson.org/assistant/
|
||||||
StaticJsonBuffer<200> jsonBuffer;
|
StaticJsonBuffer<200> jsonBuffer;
|
||||||
|
|
||||||
// StaticJsonBuffer allocates memory on the stack, it can be
|
// StaticJsonBuffer allocates memory on the stack, it can be
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
// Sample Arduino Json Web Client
|
// Sample Arduino Json Web Client
|
||||||
// Downloads and parse http://jsonplaceholder.typicode.com/users/1
|
// Downloads and parse http://jsonplaceholder.typicode.com/users/1
|
||||||
//
|
//
|
||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <Ethernet.h>
|
#include <Ethernet.h>
|
||||||
@ -135,7 +132,7 @@ bool skipResponseHeaders() {
|
|||||||
// }
|
// }
|
||||||
bool readReponseContent(struct UserData* userData) {
|
bool readReponseContent(struct UserData* userData) {
|
||||||
// Compute optimal size of the JSON buffer according to what we need to parse.
|
// Compute optimal size of the JSON buffer according to what we need to parse.
|
||||||
// See https://bblanchon.github.io/ArduinoJson/assistant/
|
// See http://arduinojson.org/assistant/
|
||||||
const size_t BUFFER_SIZE =
|
const size_t BUFFER_SIZE =
|
||||||
JSON_OBJECT_SIZE(8) // the root object has 8 elements
|
JSON_OBJECT_SIZE(8) // the root object has 8 elements
|
||||||
+ JSON_OBJECT_SIZE(5) // the "address" object has 5 elements
|
+ JSON_OBJECT_SIZE(5) // the "address" object has 5 elements
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
|
|
||||||
@ -17,7 +14,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,
|
||||||
// If the JSON object is more complex, you need to increase that value.
|
// If the JSON object is more complex, you need to increase that value.
|
||||||
// See https://bblanchon.github.io/ArduinoJson/assistant/
|
// See http://arduinojson.org/assistant/
|
||||||
StaticJsonBuffer<200> jsonBuffer;
|
StaticJsonBuffer<200> jsonBuffer;
|
||||||
|
|
||||||
// StaticJsonBuffer allocates memory on the stack, it can be
|
// StaticJsonBuffer allocates memory on the stack, it can be
|
||||||
|
@ -64,7 +64,7 @@ void loop() {
|
|||||||
if (client) {
|
if (client) {
|
||||||
bool success = readRequest(client);
|
bool success = readRequest(client);
|
||||||
if (success) {
|
if (success) {
|
||||||
// Use https://bblanchon.github.io/ArduinoJson/assistant/ to
|
// Use http://arduinojson.org/assistant/ to
|
||||||
// compute the right size for the buffer
|
// compute the right size for the buffer
|
||||||
StaticJsonBuffer<500> jsonBuffer;
|
StaticJsonBuffer<500> jsonBuffer;
|
||||||
JsonObject& json = prepareResponse(jsonBuffer);
|
JsonObject& json = prepareResponse(jsonBuffer);
|
||||||
|
@ -49,7 +49,7 @@ void setup() {
|
|||||||
void loop() {
|
void loop() {
|
||||||
delay(1000);
|
delay(1000);
|
||||||
|
|
||||||
// Use https://bblanchon.github.io/ArduinoJson/assistant/ to
|
// Use http://arduinojson.org/assistant/ to
|
||||||
// compute the right size for the buffer
|
// compute the right size for the buffer
|
||||||
StaticJsonBuffer<300> jsonBuffer;
|
StaticJsonBuffer<300> jsonBuffer;
|
||||||
JsonObject& json = buildJson(jsonBuffer);
|
JsonObject& json = buildJson(jsonBuffer);
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
|
|
||||||
|
@ -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=https://bblanchon.github.io/ArduinoJson/
|
url=http://arduinojson.org/
|
||||||
architectures=*
|
architectures=*
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
@ -20,8 +17,9 @@ inline bool ArduinoJson::Internals::JsonParser<TReader, TWriter>::eat(
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename TReader, typename TWriter>
|
template <typename TReader, typename TWriter>
|
||||||
inline bool ArduinoJson::Internals::JsonParser<
|
inline bool
|
||||||
TReader, TWriter>::parseAnythingTo(JsonVariant *destination) {
|
ArduinoJson::Internals::JsonParser<TReader, TWriter>::parseAnythingTo(
|
||||||
|
JsonVariant *destination) {
|
||||||
if (_nestingLimit == 0) return false;
|
if (_nestingLimit == 0) return false;
|
||||||
_nestingLimit--;
|
_nestingLimit--;
|
||||||
bool success = parseAnythingToUnsafe(destination);
|
bool success = parseAnythingToUnsafe(destination);
|
||||||
@ -30,8 +28,9 @@ inline bool ArduinoJson::Internals::JsonParser<
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename TReader, typename TWriter>
|
template <typename TReader, typename TWriter>
|
||||||
inline bool ArduinoJson::Internals::JsonParser<
|
inline bool
|
||||||
TReader, TWriter>::parseAnythingToUnsafe(JsonVariant *destination) {
|
ArduinoJson::Internals::JsonParser<TReader, TWriter>::parseAnythingToUnsafe(
|
||||||
|
JsonVariant *destination) {
|
||||||
skipSpacesAndComments(_reader);
|
skipSpacesAndComments(_reader);
|
||||||
|
|
||||||
switch (_reader.current()) {
|
switch (_reader.current()) {
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
@ -45,8 +42,8 @@ class JsonObject : public Internals::JsonPrintable<JsonObject>,
|
|||||||
// Create an empty JsonArray attached to the specified JsonBuffer.
|
// Create an empty JsonArray attached to the specified JsonBuffer.
|
||||||
// You should not use this constructor directly.
|
// You should not use this constructor directly.
|
||||||
// Instead, use JsonBuffer::createObject() or JsonBuffer.parseObject().
|
// Instead, use JsonBuffer::createObject() or JsonBuffer.parseObject().
|
||||||
explicit JsonObject(JsonBuffer* buffer) throw()
|
explicit JsonObject(JsonBuffer* buffer) throw()
|
||||||
: Internals::List<JsonPair>(buffer) {}
|
: Internals::List<JsonPair>(buffer) {}
|
||||||
|
|
||||||
// Gets or sets the value associated with the specified key.
|
// Gets or sets the value associated with the specified key.
|
||||||
//
|
//
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
# ArduinoJson - arduinojson.org
|
||||||
# Copyright Benoit Blanchon 2014-2017
|
# Copyright Benoit Blanchon 2014-2017
|
||||||
# MIT License
|
# MIT License
|
||||||
#
|
|
||||||
# Arduino JSON library
|
|
||||||
# https://bblanchon.github.io/ArduinoJson/
|
|
||||||
# If you like this project, please add a star!
|
|
||||||
|
|
||||||
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
# ArduinoJson - arduinojson.org
|
||||||
# Copyright Benoit Blanchon 2014-2017
|
# Copyright Benoit Blanchon 2014-2017
|
||||||
# MIT License
|
# MIT License
|
||||||
#
|
|
||||||
# Arduino JSON library
|
|
||||||
# https://bblanchon.github.io/ArduinoJson/
|
|
||||||
# If you like this project, please add a star!
|
|
||||||
|
|
||||||
add_executable(DynamicJsonBufferTests
|
add_executable(DynamicJsonBufferTests
|
||||||
alloc.cpp
|
alloc.cpp
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <catch.hpp>
|
#include <catch.hpp>
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <catch.hpp>
|
#include <catch.hpp>
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <catch.hpp>
|
#include <catch.hpp>
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <catch.hpp>
|
#include <catch.hpp>
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <catch.hpp>
|
#include <catch.hpp>
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
|
// ArduinoJson - arduinojson.org
|
||||||
// Copyright Benoit Blanchon 2014-2017
|
// Copyright Benoit Blanchon 2014-2017
|
||||||
// MIT License
|
// MIT License
|
||||||
//
|
|
||||||
// Arduino JSON library
|
|
||||||
// https://bblanchon.github.io/ArduinoJson/
|
|
||||||
// If you like this project, please add a star!
|
|
||||||
|
|
||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include <catch.hpp>
|
#include <catch.hpp>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user