Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Add "IN" script expression operator#13

Closed
warrick-loyaltycorp wants to merge 3 commits intoFlowCommunications:masterfrom
warrick-loyaltycorp:add_in_script_expression_operator
Closed

Add "IN" script expression operator#13
warrick-loyaltycorp wants to merge 3 commits intoFlowCommunications:masterfrom
warrick-loyaltycorp:add_in_script_expression_operator

Conversation

@warrick-loyaltycorp
Copy link

We've used JSONPath in one of our projects and it's been a great help. Thank you.

One feature we needed was an IN operator for script expressions, e.g.
$..books[?(@.author in ["J. R. R. Tolkien", "Nigel Rees"])].title

A testQueryMatchIn test has been added to JSONPathTest.
The new operator has been implemented in QueryMatchFilter.
The README has been updated.

Cheers,
Warrick

@martinssipenko
Copy link
Contributor

This project is now marked as abandoned and suggests using softcreatr/jsonpath as a replacement. If you think this issue is still relevant please open a new ticket under the new project.

https://github.com/SoftCreatR/JSONPath

@flowcomm flowcomm closed this Oct 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants