JSONPath
JSONPath copied to clipboard
Filter Expression With Equals With Root Reference
Test Data:
{
"value":42,
"items":[
{
"key":10
},
{
"key":42
},
{
"key":50
}
]
}
Selector:
$.items[?(@.key==$.value)]
Result (Proposal A):
--- Expected
+++ Actual
@@ @@
-'[{"key":42}]'
+'[]'
https://cburgmer.github.io/json-path-comparison/results/filter_expression_with_equals_with_root_reference.html