JsonPath icon indicating copy to clipboard operation
JsonPath copied to clipboard

Support Array Slice Notation

Open nebhale opened this issue 11 years ago • 0 comments

Currently, array indexes can be selected using two forms. The first allows for the selection of a single index:

$..book[0]

The other allows for the selection of multiple indexes:

$..book[0, 1]

While the first style is very common, the second one has never been used. Both syntaxes should be replaced by the ES4 Array Slice Notation.

NOTE: This is a breaking change as it removes the multiple index syntax. I do not believe that this will affect any users, but I'm happy to hear differently in this issue.

nebhale avatar Apr 05 '13 04:04 nebhale