JSONPath
JSONPath copied to clipboard
Filter Expression With Bracket Notation With -1
Test Data:
[
[
2,
3
],
[
"a"
],
[
0,
2
],
[
2
]
]
Selector:
$[?(@[-1]==2)]
Result (Proposal A):
--- Expected
+++ Actual
@@ @@
-'[[0,2],[2]]'
+'[]'
https://cburgmer.github.io/json-path-comparison/results/filter_expression_with_bracket_notation_with_-1.html