wildcardindex.json 476 B

1234567891011121314151617
  1. [{
  2. "description": "Multiple wildcards",
  3. "given":
  4. {"foo": [{"bar": "one"}, {"bar": "two"}, {"bar": "three"}, {"notbar": "four"}]},
  5. "cases": [
  6. {
  7. "name": "wildcard_with_field_match",
  8. "expression": "foo[*].bar",
  9. "result": ["one", "two", "three"]
  10. },
  11. {
  12. "name": "wildcard_with_field_match2",
  13. "expression": "foo[*].notbar",
  14. "result": ["four"]
  15. }
  16. ]
  17. }]