forked from bblanchon/ArduinoJson
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