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
Filter by nested arrays #2263
Comments
Hi @aageneralov, We also plan to add support for combining multiple filter expressions (#1697) |
@fabricereix what do you think about adding a "for all" clause on the on the assert So for this example you would write jsonpath $..authors contains "two" for all |
yes we plan to add predicates that are applied to each element of a list. |
@fabricereix I will try to tackle the feature |
What do you think about integrating hurl with any arbitrary tools to do processing? So, you could just invoke a |
Problem to solve
I have some trouble with filter elements in json array by nested arrays elements
Data:
I need to assert that data have doc with author named "two", I tried to use many variants of jsonpath:
But it doesn't work
Proposal
Please add an
indexOf
function or something like thatThe text was updated successfully, but these errors were encountered: