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
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
e390587e91
Kept only two namespaces ArduinoJson and ArduinoJson::Internals
2018-01-19 08:32:15 +01:00
0612eef69b
Marked strdup()
as deprecated (issue #658 )
2018-01-14 14:02:10 +01:00
ae0b7a3ebd
Changed the return type of strdup()
to const char*
(issue #658 )
2018-01-14 14:01:08 +01:00
5c33fd4b94
Set copyright year to 2018
2018-01-05 09:20:01 +01:00
221c2861fc
Changed all links to point to arduinojson.org
2017-11-07 20:42:50 +01:00
57defe00ee
Fixed DynamicJsonBuffer::clear()
not resetting allocation size ( fixes #561 )
2017-08-30 21:51:10 +02:00
476e5aaa86
Added DynamicJsonBuffer::clear()
2017-06-17 16:48:40 +02:00
508f936317
Made JsonBuffer
non-copyable (PR #524 by @luisrayas3)
2017-06-17 14:17:01 +02:00
df541a2a22
Changed unit testing framework from Google Test to Catch
2017-04-18 18:22:24 +02:00
71edcaf20f
Split unit test into several executables
2017-04-10 15:36:59 +02:00
ac89d91db5
Organized test files in subfolders
2017-04-10 14:32:45 +02:00