mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Removed default capacity of DynamicJsonDocument
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
template <typename T>
|
||||
void check(T value, const char* expected_data, size_t expected_len) {
|
||||
DynamicJsonDocument doc;
|
||||
DynamicJsonDocument doc(4096);
|
||||
JsonVariant variant = doc.to<JsonVariant>();
|
||||
variant.set(value);
|
||||
std::string expected(expected_data, expected_data + expected_len);
|
||||
|
||||
Reference in New Issue
Block a user