-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Can't use single quotes with Jackson, "in" predicate operator #275
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
Labels
Comments
Use
works for me |
I think you missed the point of the issue. I know that double quotes work. I know that The only thing I am saying does not work is a predicate with a |
Works as expected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The README says, in section Filter Operators
When using a
JacksonJsonProvider
orJacksonJsonNodeJsonProvider
, and when testing a predicate with thein
operator, anInvalidJsonException
is thrown.I've uploaded a test class to a gist: https://gist.github.com/johnflavin/31aea6ac790f32cbbb528124eceeb4df. In it, I try out all the different json provider classes, with single and double quotes, in predicates using
?(@.foo == 'bar')
and?(@.foo in ['bar'])
. Everything works as expected, except for Jackson providers, single quotes, andin
.The text was updated successfully, but these errors were encountered: