Fixed error in float serialization (issue #324)

This commit is contained in:
Benoit Blanchon
2016-07-20 13:15:17 +02:00
parent 79d80a5dbf
commit c64340a9bb
3 changed files with 150 additions and 13 deletions

View File

@@ -1,6 +1,11 @@
ArduinoJson: change log
=======================
HEAD
----
* Fixed error in float serialization (issue #324)
v5.6.3
------
@@ -112,7 +117,7 @@ v5.0.3
v5.0.2
------
* Fixed segmentation fault in `parseObject(String)` and `parseArray(String)`, when the
* Fixed segmentation fault in `parseObject(String)` and `parseArray(String)`, when the
`StaticJsonBuffer` is too small to hold a copy of the string
* Fixed Clang warning "register specifier is deprecated" (issue #102)
* Fixed GCC warning "declaration shadows a member" (issue #103)
@@ -228,14 +233,14 @@ v3.1
Old generator API:
JsonObject<3> root;
JsonObject<3> root;
root.add("sensor", "gps");
root.add("time", 1351824120);
root.add("data", array);
New generator API:
JsonObject<3> root;
JsonObject<3> root;
root["sensor"] = "gps";
root["time"] = 1351824120;
root["data"] = array;
@@ -292,7 +297,7 @@ v1.1
* Example: changed `char* json` into `char[] json` so that the bytes are not write protected
* Fixed parsing bug when the JSON contains multi-dimensional arrays
v1.0
v1.0
----
Initial release