forked from bblanchon/ArduinoJson
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
80e0a51c15 | |||
dd416e51f3 | |||
7059e35938 |
@ -1,10 +1,15 @@
|
||||
ArduinoJsonParser change log
|
||||
============================
|
||||
|
||||
v1.2
|
||||
----
|
||||
|
||||
* Example: changed `char[] json` into `char json[]`. Damn it C# !
|
||||
|
||||
v1.1
|
||||
----
|
||||
|
||||
* Example: changed `char* json` into `char json[]` so that the byes are not write protected
|
||||
* 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
|
||||
|
@ -407,3 +407,10 @@ As you'll see the code size if between 1680 and 3528 bytes, depending on the fea
|
||||
<td>710</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
Links
|
||||
-----
|
||||
|
||||
* [The project for which I made me this library](http://blog.benoitblanchon.fr/rfid-payment-terminal/)
|
||||
* [Blog post on the motivation for this library](http://blog.benoitblanchon.fr/arduino-json-parser/)
|
@ -7,7 +7,7 @@
|
||||
|
||||
void ParseAnObject()
|
||||
{
|
||||
char[] json = "{\"Name\":\"Blanchon\",\"Skills\":[\"C\",\"C++\",\"C#\"],\"Age\":32,\"Online\":true}";
|
||||
char json[] = "{\"Name\":\"Blanchon\",\"Skills\":[\"C\",\"C++\",\"C#\"],\"Age\":32,\"Online\":true}";
|
||||
|
||||
JsonParser<32> parser;
|
||||
|
||||
@ -47,7 +47,7 @@ void ParseAnObject()
|
||||
|
||||
void ParseAnArray()
|
||||
{
|
||||
char[] json = "[[1.2,3.4],[5.6,7.8]]";
|
||||
char json[] = "[[1.2,3.4],[5.6,7.8]]";
|
||||
|
||||
JsonParser<32> parser;
|
||||
|
||||
|
Reference in New Issue
Block a user