Renamed JsonHashTable into JsonObject

This commit is contained in:
Benoit Blanchon
2014-07-22 21:02:16 +02:00
parent abef85218e
commit 6e4eb45210
15 changed files with 80 additions and 67 deletions

View File

@ -15,7 +15,7 @@ void setup()
array.add<6>(48.756080); // 6 is the number of decimals to print
array.add<6>(2.302038); // if not specified, 2 digits are printed
JsonHashTable<3> root;
JsonObject<3> root;
root.add("sensor", "gps");
root.add("time", 1351824120);
root.add("data", array);

View File

@ -15,7 +15,7 @@ void setup()
JsonParser<16> parser;
JsonHashTable root = parser.parse(json);
JsonObject root = parser.parse(json);
if (!root.success())
{