parser json BUGFIX do not open next element on data skip
diff --git a/src/parser_json.c b/src/parser_json.c
index 66e58ed..146b37a 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -304,9 +304,7 @@
         } else if ((status == LYJSON_OBJECT) && (current == LYJSON_OBJECT_CLOSED)) {
             sublevels--;
         }
-    } while (current != status + 1 || sublevels);
-    /* open the next sibling */
-    LY_CHECK_RET(lyjson_ctx_next(jsonctx, NULL));
+    } while ((current != status + 1) || sublevels);
 
     return LY_SUCCESS;
 }