mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Use DynamicJsonBuffer instead of arbitrary sized StaticJsonBuffer
This commit is contained in:
@@ -11,7 +11,7 @@ class Issue34 : public testing::Test {
|
||||
protected:
|
||||
template <typename T>
|
||||
void test_with_value(T expected) {
|
||||
StaticJsonBuffer<200> jsonBuffer;
|
||||
StaticJsonBuffer<JSON_OBJECT_SIZE(1)> jsonBuffer;
|
||||
|
||||
JsonObject& jsonObject = jsonBuffer.createObject();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user