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
e86eb0cfdf
Set version to 6.0.0-beta
2018-06-07 10:50:10 +02:00
Benoit Blanchon
0139354780
Merge branch 'master' into 6.x
2018-06-04 17:46:34 +02:00
Benoit Blanchon
eb20ae6a3f
Added macros ARDUINOJSON_VERSION, ARDUINOJSON_VERSION_MAJOR...
2018-06-01 09:19:34 +02:00
Benoit Blanchon
58cb793c96
Reorganized polyfills
2018-05-17 13:46:23 +02:00
Benoit Blanchon
4592f23260
Merged MsgPackError and JsonError into DeserializationError.
...
Return NotSupported if the JSON input contains "\u".
2018-05-15 18:23:09 +02:00
Benoit Blanchon
ccb54136a2
Added support for non zero-terminated strings ( fixes #704 )
2018-05-14 17:12:59 +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
cb723840d9
Added deserializeMsgPack() (issue #358 )
2018-04-10 17:43:27 +02:00
Benoit Blanchon
ef55a6ba7c
Removed all deprecated features
2018-03-15 16:50:39 +01:00
Benoit Blanchon
b2a8085651
Added JsonError
2018-03-09 16:58:01 +01: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
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
0612eef69b
Marked strdup() as deprecated (issue #658 )
2018-01-14 14:02:10 +01:00
Benoit Blanchon
ae0b7a3ebd
Changed the return type of strdup() to const char* (issue #658 )
2018-01-14 14:01:08 +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
d41f7a8165
Fixed too many decimals places in float serialization (issue #543 )
2017-07-14 10:51:46 +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
9afa05e2f4
Removed Print class and converted printTo() to a template method (issue #276 )
2017-04-22 11:33:40 +02:00
Benoit Blanchon
df541a2a22
Changed unit testing framework from Google Test to Catch
2017-04-18 18:22:24 +02:00
Benoit Blanchon
f2ef338cb8
Renamed JsonArray::removeAt() into remove()
2017-04-12 21:07:30 +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