mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Removed the overloads of add() by using a templated type
This commit is contained in:
@@ -17,7 +17,8 @@ public:
|
||||
itemCount = 0;
|
||||
}
|
||||
|
||||
void add(const char* key, const char* value)
|
||||
template<typename T>
|
||||
void add(const char* key, T value)
|
||||
{
|
||||
add(key, JsonValue(value));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user