Skip to content

Array slice with large number for end and negative step #29

@SoftCreatR

Description

@SoftCreatR

Test Data:

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

Selector:

$[2:-113667776004:-1]

Result (Proposal A):

--- Expected
+++ Actual
@@ @@
-'["third","second","first"]'
+'[]'

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions