Skip to content

Conversation

@plastic-karma
Copy link
Contributor

The filter values in the 'in' filter are treated as JSON. Single quotes in a JSON array are technically not valid JSON. Some JSON parsers allow it by default, others don't. Jackson does not. For consistency this pull-request enables single quotes for Jackson providers. This fixes #275

@jochenberger
Copy link
Contributor

jochenberger commented Mar 17, 2017

I don't think that this is how it should be fixed. IMHO, the JsonProvider is not/should not be responsible for parsing parts of the query.

@jochenberger
Copy link
Contributor

I created #314 with an alternate solution. Sorry for stealing your test. ;-)

@plastic-karma
Copy link
Contributor Author

You are right. Glad I could contribute the testcase :-)

@plastic-karma
Copy link
Contributor Author

Closing in favor of #314

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.

Can't use single quotes with Jackson, "in" predicate operator

2 participants