Commit Graph

23 Commits

Author SHA1 Message Date
Benoit Blanchon
b106b1ed14 Copy JsonArray and JsonObject, instead of storing pointers (fixes #780) 2018-09-11 16:06:08 +02:00
Benoit Blanchon
2998a55f0b Renamed JsonBuffer to MemoryPool 2018-09-03 16:14:21 +02:00
Benoit Blanchon
e3639918eb Reduced executable size 2018-08-31 16:29:08 +02:00
Benoit Blanchon
9cbc891816 Implemented reference semantics for JsonVariant 2018-08-21 17:56:16 +02:00
Benoit Blanchon
87fa87d87b Renamed function RawJson() to serialized() 2018-07-12 09:08:20 +02:00
Benoit Blanchon
b105e6f7c4 Return JsonArray and JsonObject by value (closes #309) 2018-07-02 09:35:21 +02:00
Benoit Blanchon
58cb793c96 Reorganized polyfills 2018-05-17 13:46:23 +02:00
Benoit Blanchon
cb723840d9 Added deserializeMsgPack() (issue #358) 2018-04-10 17:43:27 +02:00
Benoit Blanchon
0d1623edef Clear the JsonObject or JsonArray in deserializeJson() 2018-03-18 14:50:52 +01:00
Benoit Blanchon
cf149940ed Moved JsonBuffer to Memory/ 2018-03-15 16:51:07 +01:00
Benoit Blanchon
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
Benoit Blanchon
e390587e91 Kept only two namespaces ArduinoJson and ArduinoJson::Internals 2018-01-19 08:32:15 +01:00
Benoit Blanchon
bae179ed67 RawJson() accepts any kind of string and obeys to duplication rules 2018-01-18 09:43:37 +01:00
Benoit Blanchon
e92612b511 Changed the rules of string duplication (fixes #658) 2018-01-14 13:46:28 +01:00
Benoit Blanchon
5c33fd4b94 Set copyright year to 2018 2018-01-05 09:20:01 +01:00
Benoit Blanchon
221c2861fc Changed all links to point to arduinojson.org 2017-11-07 20:42:50 +01:00
Benoit Blanchon
ed98ea4e43 Implemented JsonVariant comparisons with template friends 2017-08-06 16:26:38 +02:00
Benoit Blanchon
5da41edf6a Removed implementation of JsonBufferAllocated::delete. 2017-06-19 10:05:38 +02:00
Benoit Blanchon
508f936317 Made JsonBuffer non-copyable (PR #524 by @luisrayas3) 2017-06-17 14:17:01 +02:00
Benoit Blanchon
cda05aec04 Removed configurable number of decimal places (issues #288, #427 and #506) 2017-05-20 09:06:53 +02:00
Benoit Blanchon
cc66618e70 Fixed error forming reference to reference (issue #495) 2017-05-04 21:58:28 +02:00
Benoit Blanchon
9afa05e2f4 Removed Print class and converted printTo() to a template method (issue #276) 2017-04-22 11:33:40 +02:00
Benoit Blanchon
024976cda2 Renamed folder include/ to src/ (issue #461) 2017-04-20 10:26:40 +02:00