mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
ArduinoJson 7.2 upgrade
This commit is contained in:
@@ -1681,7 +1681,7 @@ bool EMSdevice::generate_values(JsonObject output, const int8_t tag_filter, cons
|
||||
}
|
||||
|
||||
// do not overwrite
|
||||
if (json.containsKey(name)) {
|
||||
if (json[name].is<const char *>()) {
|
||||
#if defined(EMSESP_DEBUG)
|
||||
EMSESP::logger().debug("warning: double json key: %s", name);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user