We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eed193e commit c58e93bCopy full SHA for c58e93b
src/lib_json/json_reader.cpp
@@ -1160,6 +1160,7 @@ bool OurReader::readValue() {
1160
}
1161
break;
1162
case tokenArraySeparator:
1163
+ case tokenObjectEnd:
1164
if (features_.allowDroppedNullPlaceholders_) {
1165
// "Un-read" the current token and mark the current value as a null
1166
// token.
@@ -1169,8 +1170,7 @@ bool OurReader::readValue() {
1169
1170
currentValue().setOffsetStart(current_ - begin_ - 1);
1171
currentValue().setOffsetLimit(current_ - begin_);
1172
- }
1173
- // Else, fall through...
+ } // else, fall through ...
1174
default:
1175
currentValue().setOffsetStart(token.start_ - begin_);
1176
currentValue().setOffsetLimit(token.end_ - begin_);
0 commit comments