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

Nested associative arrays fail to parse at '}' #15

Open
jmc-netactuate opened this issue May 14, 2019 · 2 comments
Open

Nested associative arrays fail to parse at '}' #15

jmc-netactuate opened this issue May 14, 2019 · 2 comments

Comments

@jmc-netactuate
Copy link

Nested associative array which are not the last item at a given parsing level will produce an error during read of the next result after the associative array because the closing '}' brace(s) are not consumed.

I have implemented a fix for the associative array case:

0001-The-closing-must-be-consumed-after-an-associative-ar.txt

I believe it probably affects the indexed array case as well but have not tested to confirm, if so I believe the same approach should resolve the issue there as well.

@elliotchance
Copy link
Owner

Can you please create a PR for this?

@jmc-netactuate
Copy link
Author

I believe #16 should do it.

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

2 participants