Moved JsonValue to namespace ArduinoJson::Generator

This commit is contained in:
Benoit Blanchon
2014-07-31 19:57:52 +02:00
parent 7877ee1b4c
commit 13c386c7a3
6 changed files with 11 additions and 10 deletions

View File

@ -26,7 +26,7 @@ namespace ArduinoJson
void add(const char* key, double value)
{
getValue(key).set<DIGITS>(value);
}
}
using JsonPrintable::printTo;
@ -37,7 +37,7 @@ namespace ArduinoJson
struct KeyValuePair
{
Internals::EscapedString key;
Internals::JsonValue value;
JsonValue value;
};
JsonObjectBase(KeyValuePair* items, int capacity)
@ -45,7 +45,7 @@ namespace ArduinoJson
{
}
Internals::JsonValue& getValue(const char* key);
JsonValue& getValue(const char* key);
private:
KeyValuePair* items;