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 57eba21 commit abd1399Copy full SHA for abd1399
src/generic/stage2/json_iterator.h
@@ -188,8 +188,6 @@ SIMDJSON_WARN_UNUSED simdjson_really_inline error_code json_iterator::walk_docum
188
189
dom_parser.next_structural_index = uint32_t(next_structural - &dom_parser.structural_indexes[0]);
190
191
- if (depth != 0) { log_error("Unclosed objects or arrays!"); return TAPE_ERROR; }
192
-
193
// If we didn't make it to the end, it's an error
194
if ( !STREAMING && dom_parser.next_structural_index != dom_parser.n_structural_indexes ) {
195
log_error("More than one JSON value at the root of the document, or extra characters at the end of the JSON!");
0 commit comments