Benoit Blanchon
9cbc891816
Implemented reference semantics for JsonVariant
2018-08-21 17:56:16 +02:00
Benoit Blanchon
0454bd1ef6
Set version to 6.2.3-beta
v6.2.3-beta
2018-07-19 18:28:03 +02:00
Benoit Blanchon
f139100b23
Added a script to update the version number
2018-07-19 18:27:44 +02:00
Benoit Blanchon
3f666bd5f0
Fixed exception when using Flash strings as object keys ( fixes #784 )
2018-07-19 17:22:28 +02:00
Benoit Blanchon
d53a93e0ae
Set version to 6.2.2-beta
v6.2.2-beta
2018-07-18 20:21:00 +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
9bbfbd0a6a
Set version to 6.2.1-beta
v6.2.1-beta
2018-07-17 10:27:04 +02:00
Benoit Blanchon
6e4f1dc756
Fixed JsonObject not inserting keys of type String ( fixes #782 )
2018-07-17 10:24:21 +02:00
Benoit Blanchon
dc13882624
Update badges to show status of branch 6.x
2018-07-12 11:01:26 +02:00
Benoit Blanchon
6bb17d5896
Checked that issue issue #628 is fixed
2018-07-12 10:33:56 +02:00
Benoit Blanchon
1a513cbd16
Set version to 6.2.0-beta
v6.2.0-beta
2018-07-12 09:10:13 +02:00
Benoit Blanchon
87fa87d87b
Renamed function RawJson() to serialized()
2018-07-12 09:08:20 +02:00
Benoit Blanchon
765752261c
Improved float serialization when -fsingle-precision-constant is used
2018-07-04 12:07:03 +02:00
Benoit Blanchon
037f90aada
Disabled lazy number deserialization ( fixes #772 )
2018-07-04 12:02:58 +02:00
Benoit Blanchon
1397bec066
Set version to 6.1.0-beta
v6.1.0-beta
2018-07-02 09:54:35 +02:00
Benoit Blanchon
b105e6f7c4
Return JsonArray and JsonObject by value ( closes #309 )
2018-07-02 09:35:21 +02:00
Benoit Blanchon
4fe2b1100e
Set version to 6.0.1-beta
v6.0.1-beta
2018-06-11 12:24:33 +02:00
Benoit Blanchon
c3403ed72d
Fixed conflicts with isnan() and isinf() macros ( fixes #752 )
2018-06-11 12:21:50 +02:00
Benoit Blanchon
393f352b70
Minor changes in the examples
2018-06-07 11:21:54 +02:00
Benoit Blanchon
e86eb0cfdf
Set version to 6.0.0-beta
v6.0.0-beta
2018-06-07 10:50:10 +02:00
Benoit Blanchon
a9a730fd74
Added MessagePack fuzzing
2018-06-07 10:36:57 +02:00
Benoit Blanchon
4ff6809bc5
Merge branch 'master' into 6.x
2018-06-07 09:32:55 +02:00
Benoit Blanchon
7b229e4c38
Added fuzzing to travis
2018-06-06 11:20:49 +02:00
Benoit Blanchon
9ac9b533b6
Added clang 3.9, 4.0, 5.0 and 6.0 to travis
2018-06-05 20:55:53 +02:00
Benoit Blanchon
f53fc3e06f
Added MessagePack in README
2018-06-04 17:48:10 +02:00
Benoit Blanchon
0139354780
Merge branch 'master' into 6.x
2018-06-04 17:46:34 +02:00
Benoit Blanchon
011aac43d2
Set version to 5.13.2
v5.13.2
2018-06-01 09:21:42 +02:00
Benoit Blanchon
eb20ae6a3f
Added macros ARDUINOJSON_VERSION, ARDUINOJSON_VERSION_MAJOR...
2018-06-01 09:19: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
fc2e3a4ab3
Added serializeMsgPack() and measureMsgPack() ( closes #358 )
2018-05-29 08:31:39 +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
4c9c047ddf
Made nestingLimit a member of the document
2018-04-18 21:42:30 +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
a13b9e8bdc
Added example MsgPackParser.ino (issue #358 )
2018-04-10 17:55:51 +02:00
Benoit Blanchon
cb723840d9
Added deserializeMsgPack() (issue #358 )
2018-04-10 17:43:27 +02:00
Benoit Blanchon
923d3e8a84
Removed friend relationship between JsonVariant and JsonSerializer
2018-03-23 09:20:50 +01: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
ef55a6ba7c
Removed all deprecated features
2018-03-15 16:50:39 +01:00
Benoit Blanchon
e3e4aa89ad
Merge branch 'master' into 6.x
...
# Conflicts:
# CHANGELOG.md
# src/ArduinoJson/Deserialization/JsonParser.hpp
# src/ArduinoJson/Deserialization/JsonParserImpl.hpp
# test/JsonBuffer/nestingLimit.cpp
2018-03-14 14:46:53 +01:00
Benoit Blanchon
3523296e3d
Fixed JsonBuffer::parse() nesting limit ( fixes #693 )
2018-03-12 18:29:33 +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
baf5adcf33
Set version to 6.0.0
2018-02-26 16:00:44 +01:00
Benoit Blanchon
689ae5c08d
Set version to 5.13.1
v5.13.1
2018-02-19 08:56:17 +01:00
Benoit Blanchon
d9b1e7e810
Allowed non-quoted key to contain underscores ( fixes #665 )
2018-02-16 11:04:07 +01:00
Benoit Blanchon
b4eece01f8
Fixed JsonVariant::operator|(int) to accept double ( fixes #675 )
2018-02-09 09:05:29 +01:00