mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Исправляем ошибку чтения bool из Json
This commit is contained in:
@@ -91,7 +91,7 @@ bool jsonRead(String& json, String key, bool& value, bool e) {
|
||||
}
|
||||
ret = false;
|
||||
}
|
||||
value = doc[key].as<bool>();
|
||||
value = doc[key].as<int>();
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user