forked from bblanchon/ArduinoJson
Test that JsonArray grows after calling add()
This commit is contained in:
1 parent
cb3c59ec07
commit
4c67d0579a
5 files changed
+22
-15
No files matched your search
+5
-2
@@ -16,7 +16,10 @@ public:
|
||||
|
||||
// JsonValue operator[](int index);
|
||||
|
||||
// template<typename T>
|
||||
// void add(T value);
|
||||
template<typename T>
|
||||
void add(T value)
|
||||
{
|
||||
addChild(createNode(JSON_UNDEFINED));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user