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 2e88368 commit dba78e2Copy full SHA for dba78e2
src/parser_json.c
@@ -303,8 +303,6 @@ lydjson_data_skip(struct lyjson_ctx *jsonctx)
303
sublevels++;
304
} else if ((status == LYJSON_OBJECT) && (current == LYJSON_OBJECT_CLOSED)) {
305
sublevels--;
306
- } else if ((status == LYJSON_ARRAY) && (current == LYJSON_ARRAY_CLOSED)) {
307
- sublevels--;
308
}
309
} while (current != status + 1 || sublevels);
310
/* open the next sibling */
0 commit comments