Skip to content

Commit 0e75a5a

Browse files
committed
json_cursor_tests
1 parent 630b8d7 commit 0e75a5a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/jsoncons/json_cursor.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,13 @@ class basic_json_cursor : public basic_staj_cursor<CharT>, private virtual ser_c
291291
parser_.cursor_mode(true);
292292
parser_.mark_level(0);
293293
}
294+
else
295+
{
296+
if (cursor_visitor_.event().send_json_event(visitor, *this, ec))
297+
{
298+
read_next(visitor, ec);
299+
}
300+
}
294301
}
295302

296303
void next() override

0 commit comments

Comments
 (0)