-
Notifications
You must be signed in to change notification settings - Fork 38
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
Using reserved word 'in' as key in jsonNode fails #317
Comments
I'm afraid this is due to the difference in parsing approach used by JSONata4Java where we have defined a language and as you've noticed, in is a reserved keyword. Below is the definition of the language (full details are in the MappingExpression.g4 file. I suspect the same is true for "or" and "and".
|
Thank you for the information on the language. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
when I try to parse the json payload with a reserved keyword 'in'
an exception is thrown:
Whereas when I use 'ink' instead of 'in' the test works.
I tested with version 2.5.1
The text was updated successfully, but these errors were encountered: