-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JsonParserImpl's skipArray() and skipObject() not working according to jakarta.json.stream.JsonParser description #112
Comments
api-from-the-ion
added a commit
to api-from-the-ion/parsson
that referenced
this issue
Nov 13, 2023
…created test for these methods Signed-off-by: Anton Pinsky <[email protected]>
api-from-the-ion
added a commit
to api-from-the-ion/parsson
that referenced
this issue
Nov 14, 2023
Signed-off-by: Anton Pinsky <[email protected]>
api-from-the-ion
added a commit
to api-from-the-ion/parsson
that referenced
this issue
Nov 14, 2023
Signed-off-by: Anton Pinsky <[email protected]>
api-from-the-ion
added a commit
to api-from-the-ion/parsson
that referenced
this issue
Nov 14, 2023
Signed-off-by: Anton Pinsky <[email protected]>
api-from-the-ion
added a commit
to api-from-the-ion/parsson
that referenced
this issue
Nov 14, 2023
…rors Signed-off-by: Anton Pinsky <[email protected]>
api-from-the-ion
added a commit
to api-from-the-ion/parsson
that referenced
this issue
Nov 14, 2023
Signed-off-by: Anton Pinsky <[email protected]>
lukasj
pushed a commit
that referenced
this issue
Feb 26, 2024
Signed-off-by: Anton Pinsky <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you look at the description of above mentioned methods in interface, you will see, that the array or the object should be skipped if the parser is inside the array's or object's context. Not at the beginning. These methods implemented correctly in the JsonStructureParser, but not in the JsonParserImpl. Here, one can't skip to the end of the array or object if one is already inside the context.
Found this during the test for this Yasson ticket 630. I'll create a PR with changes to correct this.
The text was updated successfully, but these errors were encountered: