mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-19 05:22:24 +02:00
Added a test that adds a empty nested array in an array
This commit is contained in:
@ -38,6 +38,13 @@ public:
|
||||
addItem(JSON_BOOLEAN, v);
|
||||
}
|
||||
|
||||
void add(JsonObjectBase& value)
|
||||
{
|
||||
JsonObjectValue v;
|
||||
v.object = &value;
|
||||
addItem(JSON_OBJECT, v);
|
||||
}
|
||||
|
||||
void writeTo(char* buffer, size_t bufferSize)
|
||||
{
|
||||
StringBuilder sb(buffer, bufferSize);
|
||||
|
Reference in New Issue
Block a user