Skip to content
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

Open
api-from-the-ion opened this issue Nov 13, 2023 · 0 comments

Comments

@api-from-the-ion
Copy link
Contributor

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.

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
api-from-the-ion added a commit to api-from-the-ion/parsson that referenced this issue Nov 14, 2023
api-from-the-ion added a commit to api-from-the-ion/parsson that referenced this issue Nov 14, 2023
api-from-the-ion added a commit to api-from-the-ion/parsson that referenced this issue Nov 14, 2023
api-from-the-ion added a commit to api-from-the-ion/parsson that referenced this issue Nov 14, 2023
lukasj pushed a commit that referenced this issue Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant