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 5849903 commit 7b3683cCopy full SHA for 7b3683c
src/lib_json/json_reader.cpp
@@ -200,6 +200,8 @@ bool Reader::readValue() {
200
}
201
break;
202
case tokenArraySeparator:
203
+ case tokenObjectEnd:
204
+ case tokenArrayEnd:
205
if (features_.allowDroppedNullPlaceholders_) {
206
// "Un-read" the current token and mark the current value as a null
207
// token.
@@ -209,8 +211,7 @@ bool Reader::readValue() {
209
211
currentValue().setOffsetStart(current_ - begin_ - 1);
210
212
currentValue().setOffsetLimit(current_ - begin_);
213
- }
- // Else, fall through...
214
+ } // Else, fall through...
215
default:
216
currentValue().setOffsetStart(token.start_ - begin_);
217
currentValue().setOffsetLimit(token.end_ - begin_);
0 commit comments