JSONPath icon indicating copy to clipboard operation
JSONPath copied to clipboard

Array slice with negative step on partially overlapping array

Open SoftCreatR opened this issue 5 years ago • 0 comments

Test Data:

[
   "first",
   "second",
   "third",
   "forth",
   "fifth"
]

Selector:

$[7:3:-1]

Result (Proposal A):

--- Expected
+++ Actual
@@ @@
-'["fifth"]'
+'[]'

https://cburgmer.github.io/json-path-comparison/results/array_slice_with_negative_step_on_partially_overlapping_array.html

SoftCreatR avatar Nov 02 '20 18:11 SoftCreatR