Skip to content

Filter Expression With Equals With Root Reference #51

Open
@SoftCreatR

Description

@SoftCreatR

Test Data:

{
   "value":42,
   "items":[
      {
         "key":10
      },
      {
         "key":42
      },
      {
         "key":50
      }
   ]
}

Selector:

$.items[?(@.key==$.value)]

Result (Proposal A):

--- Expected
+++ Actual
@@ @@
-'[{"key":42}]'
+'[]'

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions