Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Expression With Bracket Notation With -1 #44

Open
SoftCreatR opened this issue Nov 3, 2020 · 0 comments
Open

Filter Expression With Bracket Notation With -1 #44

SoftCreatR opened this issue Nov 3, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@SoftCreatR
Copy link
Owner

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

@SoftCreatR SoftCreatR added bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed and removed bug Something isn't working labels Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant