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

error "mixed 63 and 44 in JSON bracket" is not helpful #28

Open
zeisss opened this issue Mar 16, 2021 · 1 comment
Open

error "mixed 63 and 44 in JSON bracket" is not helpful #28

zeisss opened this issue Mar 16, 2021 · 1 comment

Comments

@zeisss
Copy link
Contributor

zeisss commented Mar 16, 2021

I am trying to apply a filter and then pick the first element from the resulting set and just trying things wildly :)

JSONPath: $.items[?(@.available && @.id>1),0].id

parsing error: $.items[?(@.available && @.id>1),0].id	:1:33 - 1:34 mixed 63 and 44 in JSON bracket

I think the error wording is not helpful in this case, as I had to look into the ascii table to see that 64 is ? and 44 is ,, meaning that I mixed up the comma operator and filter thingy.

@generikvault
Copy link
Collaborator

yes that error message is strange

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