mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 00:32:37 +01:00 
			
		
		
		
	Added "https://" prefix to all URLs so they are clickable in VS Code
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
| @@ -44,7 +44,7 @@ void loadConfiguration(const char *filename, Config &config) { | ||||
|  | ||||
|   // Allocate a temporary JsonDocument | ||||
|   // Don't forget to change the capacity to match your requirements. | ||||
|   // Use arduinojson.org/v6/assistant to compute the capacity. | ||||
|   // Use https://arduinojson.org/v6/assistant to compute the capacity. | ||||
|   StaticJsonDocument<512> doc; | ||||
|  | ||||
|   // Deserialize the JSON document | ||||
| @@ -76,7 +76,7 @@ void saveConfiguration(const char *filename, const Config &config) { | ||||
|  | ||||
|   // Allocate a temporary JsonDocument | ||||
|   // Don't forget to change the capacity to match your requirements. | ||||
|   // Use arduinojson.org/assistant to compute the capacity. | ||||
|   // Use https://arduinojson.org/assistant to compute the capacity. | ||||
|   StaticJsonDocument<256> doc; | ||||
|  | ||||
|   // Set the values in the document | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
| @@ -17,7 +17,7 @@ void setup() { | ||||
|   // | ||||
|   // Inside the brackets, 200 is the RAM allocated to this document. | ||||
|   // Don't forget to change this value to match your requirement. | ||||
|   // Use arduinojson.org/v6/assistant to compute the capacity. | ||||
|   // Use https://arduinojson.org/v6/assistant to compute the capacity. | ||||
|   StaticJsonDocument<200> doc; | ||||
|  | ||||
|   // StaticJsonObject allocates memory on the stack, it can be | ||||
|   | ||||
| @@ -1,11 +1,11 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
| // This example shows how to parse a JSON document in an HTTP response. | ||||
| // It uses the Ethernet library, but can be easily adapted for Wifi. | ||||
| // | ||||
| // It performs a GET resquest on arduinojson.org/example.json | ||||
| // It performs a GET resquest on https://arduinojson.org/example.json | ||||
| // Here is the expected response: | ||||
| // { | ||||
| //   "sensor": "gps", | ||||
| @@ -77,7 +77,7 @@ void setup() { | ||||
|   } | ||||
|  | ||||
|   // Allocate the JSON document | ||||
|   // Use arduinojson.org/v6/assistant to compute the capacity. | ||||
|   // Use https://arduinojson.org/v6/assistant to compute the capacity. | ||||
|   const size_t capacity = JSON_OBJECT_SIZE(3) + JSON_ARRAY_SIZE(2) + 60; | ||||
|   DynamicJsonDocument doc(capacity); | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
| @@ -17,7 +17,7 @@ void setup() { | ||||
|   // | ||||
|   // Inside the brackets, 200 is the capacity of the memory pool in bytes. | ||||
|   // Don't forget to change this value to match your JSON document. | ||||
|   // Use arduinojson.org/v6/assistant to compute the capacity. | ||||
|   // Use https://arduinojson.org/v6/assistant to compute the capacity. | ||||
|   StaticJsonDocument<200> doc; | ||||
|  | ||||
|   // StaticJsonDocument<N> allocates memory on the stack, it can be | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
| @@ -55,7 +55,7 @@ void loop() { | ||||
|   while (client.available()) client.read(); | ||||
|  | ||||
|   // Allocate a temporary JsonDocument | ||||
|   // Use arduinojson.org/v6/assistant to compute the capacity. | ||||
|   // Use https://arduinojson.org/v6/assistant to compute the capacity. | ||||
|   StaticJsonDocument<500> doc; | ||||
|  | ||||
|   // Create the "analog" array | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
| @@ -46,7 +46,7 @@ void setup() { | ||||
|  | ||||
| void loop() { | ||||
|   // Allocate a temporary JsonDocument | ||||
|   // Use arduinojson.org/v6/assistant to compute the capacity. | ||||
|   // Use https://arduinojson.org/v6/assistant to compute the capacity. | ||||
|   StaticJsonDocument<500> doc; | ||||
|  | ||||
|   // Create the "analog" array | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
| @@ -18,7 +18,7 @@ void setup() { | ||||
|   // | ||||
|   // Inside the brackets, 200 is the capacity of the memory pool in bytes. | ||||
|   // Don't forget to change this value to match your JSON document. | ||||
|   // Use arduinojson.org/v6/assistant to compute the capacity. | ||||
|   // Use https://arduinojson.org/v6/assistant to compute the capacity. | ||||
|   StaticJsonDocument<200> doc; | ||||
|  | ||||
|   // StaticJsonObject allocates memory on the stack, it can be | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| // ArduinoJson - arduinojson.org | ||||
| // ArduinoJson - https://arduinojson.org | ||||
| // Copyright Benoit Blanchon 2014-2021 | ||||
| // MIT License | ||||
| // | ||||
|   | ||||
		Reference in New Issue
	
	Block a user