mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2026-03-06 13:54:04 +01:00
Use DynamicJsonBuffer instead of arbitrary sized StaticJsonBuffer
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
template <typename TIterator>
|
||||
static void run_iterator_test() {
|
||||
StaticJsonBuffer<100> jsonBuffer;
|
||||
StaticJsonBuffer<JSON_ARRAY_SIZE(2)> jsonBuffer;
|
||||
|
||||
JsonArray &array = jsonBuffer.createArray();
|
||||
array.add(12);
|
||||
|
||||
Reference in New Issue
Block a user