87fa87d87b
Renamed function RawJson()
to serialized()
2018-07-12 09:08:20 +02:00
765752261c
Improved float serialization when -fsingle-precision-constant
is used
2018-07-04 12:07:03 +02:00
037f90aada
Disabled lazy number deserialization ( fixes #772 )
2018-07-04 12:02:58 +02:00
1397bec066
Set version to 6.1.0-beta
2018-07-02 09:54:35 +02:00
b105e6f7c4
Return JsonArray
and JsonObject
by value ( closes #309 )
2018-07-02 09:35:21 +02:00
4fe2b1100e
Set version to 6.0.1-beta
2018-06-11 12:24:33 +02:00
c3403ed72d
Fixed conflicts with isnan()
and isinf()
macros ( fixes #752 )
2018-06-11 12:21:50 +02:00
e86eb0cfdf
Set version to 6.0.0-beta
2018-06-07 10:50:10 +02:00
0139354780
Merge branch 'master' into 6.x
2018-06-04 17:46:34 +02:00
011aac43d2
Set version to 5.13.2
2018-06-01 09:21:42 +02:00
eb20ae6a3f
Added macros ARDUINOJSON_VERSION
, ARDUINOJSON_VERSION_MAJOR
...
2018-06-01 09:19:34 +02:00
7c0af91844
Fixed null values that could be pass to strcmp()
( closes #745 )
2018-06-01 09:08:38 +02:00
fc2e3a4ab3
Added serializeMsgPack()
and measureMsgPack()
( closes #358 )
2018-05-29 08:31:39 +02:00
58cb793c96
Reorganized polyfills
2018-05-17 13:46:23 +02:00
4592f23260
Merged MsgPackError and JsonError into DeserializationError.
...
Return NotSupported if the JSON input contains "\u".
2018-05-15 18:23:09 +02:00
ccb54136a2
Added support for non zero-terminated strings ( fixes #704 )
2018-05-14 17:12:59 +02:00
4c9c047ddf
Made nestingLimit a member of the document
2018-04-18 21:42:30 +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
cb723840d9
Added deserializeMsgPack()
(issue #358 )
2018-04-10 17:43:27 +02:00
923d3e8a84
Removed friend relationship between JsonVariant and JsonSerializer
2018-03-23 09:20:50 +01:00
0d1623edef
Clear the JsonObject or JsonArray in deserializeJson()
2018-03-18 14:50:52 +01:00
cf149940ed
Moved JsonBuffer to Memory/
2018-03-15 16:51:07 +01:00
ef55a6ba7c
Removed all deprecated features
2018-03-15 16:50:39 +01:00
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
3523296e3d
Fixed JsonBuffer::parse()
nesting limit ( fixes #693 )
2018-03-12 18:29:33 +01: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
d9b1e7e810
Allowed non-quoted key to contain underscores ( fixes #665 )
2018-02-16 11:04:07 +01:00
b4eece01f8
Fixed JsonVariant::operator|(int)
to accept double ( fixes #675 )
2018-02-09 09:05:29 +01:00
e390587e91
Kept only two namespaces ArduinoJson and ArduinoJson::Internals
2018-01-19 08:32:15 +01:00
bae179ed67
RawJson()
accepts any kind of string and obeys to duplication rules
2018-01-18 09:43:37 +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
e92612b511
Changed the rules of string duplication ( fixes #658 )
2018-01-14 13:46:28 +01:00
5c33fd4b94
Set copyright year to 2018
2018-01-05 09:20:01 +01:00
57d98e48f7
Added detection of Keil ARM Compiler (issue #629 )
2017-12-05 21:24:28 +01:00
cf2babc598
Added detection of MPLAB XC compiler (issue #629 )
2017-12-05 21:18:21 +01:00
d10277df31
Added a clear error message when compiled as C (issue #629 )
2017-12-03 13:49:51 +01:00
d3a1203782
Added JsonVariant::operator| to return a default value
2017-11-29 09:49:40 +01:00
221c2861fc
Changed all links to point to arduinojson.org
2017-11-07 20:42:50 +01:00
591fe7e92b
Fixed incorrect rounding for float values ( fixes #588 )
2017-10-17 10:19:21 +02:00
a6091136b0
Fix GCC 7 warning
2017-09-27 11:13:45 +02:00
353bbd0e8c
Fix GCC 4.8.5 warning
2017-09-27 09:45:48 +02:00
57defe00ee
Fixed DynamicJsonBuffer::clear()
not resetting allocation size ( fixes #561 )
2017-08-30 21:51:10 +02:00
ed98ea4e43
Implemented JsonVariant comparisons with template friends
2017-08-06 16:26:38 +02:00
729bf0afd2
Made JsonBuffer destructor protected
2017-07-18 22:00:06 +02:00
2772e66064
Fixed warning "this statement may fall through" (issue #539 )
2017-07-14 11:14:56 +02:00
d41f7a8165
Fixed too many decimals places in float serialization (issue #543 )
2017-07-14 10:51:46 +02:00
abfd3997eb
Fixed "constant exceeds range of float [-Woverflow]" (issue #544 )
2017-07-09 15:24:58 +02:00