mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 08:48:30 +01:00
Fixed deserializeJson() that stopped reading after {} (fixes #1335)
This commit is contained in:
@@ -213,10 +213,8 @@ class JsonDeserializer {
|
||||
return false;
|
||||
|
||||
// Empty object?
|
||||
if (eat('}')) {
|
||||
_error = DeserializationError::Ok;
|
||||
return false;
|
||||
}
|
||||
if (eat('}'))
|
||||
return true;
|
||||
|
||||
// Read each key value pair
|
||||
for (;;) {
|
||||
|
||||
Reference in New Issue
Block a user