63d7d87080
Fixed example JsonConfigFile.ino
for ESP8266
2019-08-10 14:17:23 +02:00
4980ee8fb9
Fixed unexpected HTTP/1.0 ( closes #944 )
2019-05-26 21:07:01 +02:00
6071bd07ec
Added a link to the FAQ
2019-04-20 12:10:29 +02:00
afdd913a2f
Added links to the book page in each example
2019-03-04 12:17:41 +01:00
c3f71c1a99
Updated copyright year to 2019
2019-02-15 13:32:04 +01:00
070cd5b6c0
Added more tests of JsonVariant::is<T>()
2019-02-01 11:28:27 +01:00
6f55d1e58f
JsonVariant automatically promotes to JsonObject or JsonArray on write
2019-01-29 14:09:09 +01:00
70739f5cfd
Reduced the size of the pretty JSON serializer
2019-01-23 18:19:24 +01:00
9ac2ac303c
Removed default capacity of DynamicJsonDocument
2019-01-14 10:32:19 +01:00
e842838a23
fix a spelling error of JsonParserExample.ino
2018-10-25 17:22:23 +02:00
87fa87d87b
Renamed function RawJson()
to serialized()
2018-07-12 09:08:20 +02:00
b105e6f7c4
Return JsonArray
and JsonObject
by value ( closes #309 )
2018-07-02 09:35:21 +02:00
393f352b70
Minor changes in the examples
2018-06-07 11:21:54 +02:00
4592f23260
Merged MsgPackError and JsonError into DeserializationError.
...
Return NotSupported if the JSON input contains "\u".
2018-05-15 18:23:09 +02:00
1feb92679d
Added StaticJsonDocument and DynamicJsonDocument.
...
Removed StaticJsonArray and DynamicJsonArray.
Removed StaticJsonObject and DynamicJsonObject.
Removed StaticJsonVariant and DynamicJsonVariant.
2018-04-17 21:27:45 +02:00
a13b9e8bdc
Added example MsgPackParser.ino
(issue #358 )
2018-04-10 17:55:51 +02:00
b2a8085651
Added JsonError
2018-03-09 16:58:01 +01:00
83d73c93f7
Replaced printTo()
with serializeJson()
...
* Added `serializeJson()` and `serializeJsonPretty()`
* Added `measureJson()` and `measureJsonPretty()`
* Removed `printTo()` and `prettyPrintTo()`
* Removed `measureLength()` and `measurePrettyLength()`
2018-03-01 09:24:58 +01:00
7a2a64803a
Don't use JsonBuffer to create or parse objects and arrays.
...
* Added DynamicJsonArray and StaticJsonArray
* Added DynamicJsonObject and StaticJsonObject
* Added DynamicJsonVariant and StaticJsonVariant
* Added deserializeJson()
* Removed JsonBuffer::parseArray(), parseObject() and parse()
* Removed JsonBuffer::createArray() and createObject()
2018-02-26 16:05:16 +01:00
bae179ed67
RawJson()
accepts any kind of string and obeys to duplication rules
2018-01-18 09:43:37 +01:00
5c33fd4b94
Set copyright year to 2018
2018-01-05 09:20:01 +01:00
de47c0af9e
Updated links to the book
2017-12-27 14:15:49 +01:00
e53e4e3dd9
Fixed typos
2017-12-15 17:52:47 +01:00
7626db624e
Changed all link to point to HTTPS version
2017-12-11 17:26:50 +01:00
6d8329b255
Added an example that shows how to save and load a configuration file
2017-12-11 17:20:27 +01:00
461e30148c
Reworked all examples
2017-12-11 15:19:28 +01:00
126f7ab819
Rewrote example JsonHttpClient.ino ( fixes #600 )
2017-11-13 16:17:44 +01:00
221c2861fc
Changed all links to point to arduinojson.org
2017-11-07 20:42:50 +01:00
574c00c096
Added links to the ArduinoJson assistant (issue #513 )
2017-05-27 15:32:12 +02:00
cda05aec04
Removed configurable number of decimal places (issues #288 , #427 and #506 )
2017-05-20 09:06:53 +02:00
9afa05e2f4
Removed Print
class and converted printTo()
to a template method (issue #276 )
2017-04-22 11:33:40 +02:00
adba668109
Updated project URL
2017-03-25 22:05:06 +01:00
7bcdf3e722
JsonHttpClient: Close socket even when connection fails (issue #445 )
2017-02-11 14:01:14 +01:00
671329a3e9
Updated copyright year from 2016 to 2017
2017-01-06 21:07:34 +01:00
55669e306e
Added support for Stream
(issue #300 )
2017-01-03 22:03:50 +01:00
cecbcd1929
Added operator ==
to compare JsonVariant
and strings (issue #402 )
2016-12-23 14:45:32 +01:00
90e0cc6091
JsonHttpClient: use HTTP 1.0 instead of 1.1 (issue #397 , PR #399 by @Chris685)
...
Downgrading to HTTP 1.0 to prevent HTTP Chunked Transfer Encoding.
2016-12-14 19:41:10 +01:00
fc6ad51e68
Added the workaround for issue #118 in StringExample.ino
2016-11-24 18:11:02 +01:00
72d78432c9
Made PROGMEM available on more platforms (issue #381 )
2016-11-16 22:24:58 +01:00
1ce16ce449
Added support for PROGMEM (issue #76 )
2016-11-13 20:16:12 +01:00
aa2ef79e55
Templatized all functions using String
or std::string
...
* Removed `ArduinoJson::String`
* Removed `JsonVariant::defaultValue<T>()`
* Removed non-template `JsonObject::get()` and `JsonArray.get()`
* Fixed support for `StringSumHelper` (issue #184 )
* Replaced `ARDUINOJSON_USE_ARDUINO_STRING` by `ARDUINOJSON_ENABLE_STD_STRING` and `ARDUINOJSON_ENABLE_ARDUINO_STRING` (issue #378 )
* Added example `StringExample.ino` to show where `String` can be used
2016-11-06 17:52:18 +01:00
623aeee9bf
Added example JsonHttpClient
(issue #256 )
2016-04-08 20:11:36 +02:00
ce63e9c3c3
Added comments in examples
2016-02-01 13:31:07 +01:00
b6d8e6c989
Updated copyright year from 2015 to 2016
2016-01-07 22:39:57 +01:00
cbeefa2503
Examples: Added a loop to wait for serial port to be ready (issue #156 )
2015-11-09 22:56:49 +01:00
d5e25b12b8
Added a comment to prevent issue #112
2015-09-27 14:18:14 +02:00
0a1c27f873
Updated copyright year
2015-08-20 15:24:35 +02:00
756c279cdc
Redesigned JsonVariant to leverage converting constructors instead of assignment operators
2015-05-23 15:32:50 +02:00
ca9d606e72
Added example JsonUdpBeacon
2015-02-25 22:27:30 +01:00
e2016cf65b
Added an example with EthernetServer
2015-01-10 15:25:27 +01:00