JSONPath icon indicating copy to clipboard operation
JSONPath copied to clipboard

Array slice with large number for start end negative step

Open SoftCreatR opened this issue 5 years ago • 0 comments

Test Data:

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

Selector:

$[113667776004:2:-1]

Result (Proposal A):

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

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

SoftCreatR avatar Nov 02 '20 18:11 SoftCreatR