Benoit Blanchon
b0560cbd99
Added JsonArrayConst, JsonObjectConst, and JsonVariantConst
2018-10-12 12:00:27 +02:00
Benoit Blanchon
b11ad4077b
Merge branch 'master' into 6.x
2018-10-09 15:00:49 +02:00
Benoit Blanchon
0b3af166ae
Fixed JsonVariant::is<String>() ( closes #763 )
2018-10-06 17:21:16 +02:00
Benoit Blanchon
6b985b2d1f
Fixed object keys not being duplicated
2018-10-04 11:16:23 +02:00
Benoit Blanchon
527dc19794
Allow mixed configuration in compilation units (issue #809 )
2018-10-02 16:54:05 +02:00
Benoit Blanchon
29e71cbb16
Added implicit conversion from JsonArray and JsonObject to JsonVariant
2018-10-01 12:55:40 +02:00
Benoit Blanchon
b106b1ed14
Copy JsonArray and JsonObject, instead of storing pointers ( fixes #780 )
2018-09-11 16:06:08 +02:00
Benoit Blanchon
6d290bd001
Fixed duplication of char*
2018-08-22 14:37:17 +02:00
Benoit Blanchon
9cbc891816
Implemented reference semantics for JsonVariant
2018-08-21 17:56:16 +02:00
Benoit Blanchon
2059d610a8
Fixed invalid application of 'sizeof' to incomplete type ( closes #783 )
2018-07-18 20:19:22 +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
0139354780
Merge branch 'master' into 6.x
2018-06-04 17:46:34 +02:00
Benoit Blanchon
7c0af91844
Fixed null values that could be pass to strcmp() ( closes #745 )
2018-06-01 09:08:38 +02:00
Benoit Blanchon
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
Benoit Blanchon
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
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
b4eece01f8
Fixed JsonVariant::operator|(int) to accept double ( fixes #675 )
2018-02-09 09:05:29 +01:00
Benoit Blanchon
5c33fd4b94
Set copyright year to 2018
2018-01-05 09:20:01 +01:00
Benoit Blanchon
d3a1203782
Added JsonVariant::operator| to return a default value
2017-11-29 09:49:40 +01:00
Benoit Blanchon
221c2861fc
Changed all links to point to arduinojson.org
2017-11-07 20:42:50 +01:00
Benoit Blanchon
c955049207
Fixed IntelliSense errors in Visual Micro (issue #483 )
2017-05-28 15:33:03 +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
9efc0ec40d
Travis: Added GCC 6
2017-05-02 21:32:19 +02:00
Benoit Blanchon
df541a2a22
Changed unit testing framework from Google Test to Catch
2017-04-18 18:22:24 +02:00
Benoit Blanchon
71edcaf20f
Split unit test into several executables
2017-04-10 15:36:59 +02:00
Benoit Blanchon
ac89d91db5
Organized test files in subfolders
2017-04-10 14:32:45 +02:00