Skip to content

Filter Expression With Bracket Notation With -1 #44

@SoftCreatR

Description

@SoftCreatR

Test Data:

[
   [
      2,
      3
   ],
   [
      "a"
   ],
   [
      0,
      2
   ],
   [
      2
   ]
]

Selector:

$[?(@[-1]==2)]

Result (Proposal A):

--- Expected
+++ Actual
@@ @@
-'[[0,2],[2]]'
+'[]'

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions