Single negative index in predicate should be concidered as slice
Closed this issue · 0 comments
remorhaz commented
Expression $[-1]
always points to non-existing index (because JSON arrays always start from 0
). Instead of this, this expression must be evaluated as equivalent of [-1::]
, so that it points to last element in array.