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

JsonStructureParser fixes #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marschall
Copy link
Contributor

  • fix getObject() to work on root object
  • fix getObject() to advance parser state
  • fix getArray() to work on root array
  • fix getArray() to advance parser state

@marschall
Copy link
Contributor Author

marschall commented Dec 14, 2024

Unfortunately 9d67960 introduced some bugs:

  • #getObject() does not work on the root object
  • #getObject() does not advance the parser state to END_OBJECT as required by the method contract
  • #getArray() does not work on the array object
  • #getArray() does not advance the parser state to END_ARRAY as required by the method contract
  • #getValue() does not work on the root object or array

- fix getObject() to work on root object
- fix getObject() to advance parser state
- fix getValue() to work on root object
- fix getArray() to work on root array
- fix getArray() to advance parser state
- fix getValue() to work on root array
@marschall marschall force-pushed the fix-getObject-getArray branch from c850737 to 4729185 Compare December 14, 2024 17:09
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

Successfully merging this pull request may close these issues.

1 participant