Updated changelog

This commit is contained in:
Benoit Blanchon
2014-07-31 20:28:52 +02:00
parent 4528b8fc95
commit 84aa627038

View File

@ -1,6 +1,26 @@
Arduino JSON: change log
========================
master
------
* Calling `Generator::JsonObject.add()` twice with the same `key` now replaces the `value`
* Added `Generator::JsonObject.operator[]`, see bellow the new API
Old generator API:
JsonObject<3> root;
root.add("sensor", "gps");
root.add("time", 1351824120);
root.add("data", array);
New generator API:
JsonObject<3> root;
root["sensor"] = "gps";
root["time"] = 1351824120;
root["data"] = array;
v3.0
----