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 814bb2d commit bc67a39Copy full SHA for bc67a39
include/jsoncons_ext/bson/bson_parser.hpp
@@ -275,6 +275,10 @@ class basic_bson_parser : public ser_context
275
276
visitor.end_object(*this,ec);
277
more_ = !cursor_mode_;
278
+ if (level() == mark_level_)
279
+ {
280
+ more_ = false;
281
+ }
282
if (JSONCONS_UNLIKELY(state_stack_.back().pos != state_stack_.back().length))
283
{
284
ec = bson_errc::size_mismatch;
@@ -319,6 +323,10 @@ class basic_bson_parser : public ser_context
319
323
320
324
visitor.end_array(*this, ec);
321
325
326
327
328
329
322
330
331
332
0 commit comments