JSONPath icon indicating copy to clipboard operation
JSONPath copied to clipboard

Filter Expression With Subpaths

Open SoftCreatR opened this issue 5 years ago • 0 comments

Test Data:

[
  {
    "address": {
      "city": "Berlin"
    }
  },
  {
    "address": {
      "city": "London"
    }
  }
]

Selector:

$[?(@.address.city=='Berlin')]

Result:

--- Expected
+++ Actual
@@ @@
-'[{"address":{"city":"Berlin"}}]'
+'[]'

More information: https://cburgmer.github.io/json-path-comparison/results/filter_expression_with_subpaths

SoftCreatR avatar Oct 26 '20 19:10 SoftCreatR