grillon icon indicating copy to clipboard operation
grillon copied to clipboard

Extend json path assertions

Open theredfish opened this issue 2 years ago • 0 comments

Once https://github.com/besok/jsonpath-rust/issues/40 is fixed, we will be able to extend json path assertions and check if

  • [ ] the path exists
    • [ ] also check for false positives/negatives in other assertions. Fail with Unprocessable?
  • [ ] the path contains (use JsonPathFinder)
  • [ ] the path does not contain

See for some kind of high order function restricting these checks to a Value::Number - or maybe returns a failure with Unprocessable result?

  • [ ] the value at path is less than, is greater than or between

theredfish avatar Mar 28 '23 11:03 theredfish