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
b4b475d692
Simplified generator example
2014-11-07 16:23:21 +01:00
699292b058
Arduino example are now compiling
2014-11-03 21:29:55 +01:00
2997a405a0
Added IndentedPrint example
2014-08-26 12:48:59 +02:00
f7aa0f89e3
Added JsonPrintable.prettyPrintTo(Print&)
2014-08-25 11:39:04 +02:00
4528b8fc95
Use operator[] in example (-68 bytes)
2014-07-31 20:16:14 +02:00
6e4eb45210
Renamed JsonHashTable into JsonObject
2014-07-22 21:02:16 +02:00
0d4d77a7cd
Updated example
2014-07-17 14:02:51 +02:00
78249a0ada
Updated example
2014-07-17 13:23:32 +02:00
73eda08dd4
Updated example
2014-07-16 21:10:18 +02:00
bb11fcba89
Updated the example.
2014-07-07 16:22:43 +02:00
8baf21b6e8
Minor changes
2014-07-05 21:39:56 +02:00
efd8c0ff5c
Improved the example
2014-07-05 13:10:07 +02:00