Skip to content

Filter expression with equals with path and path #72

Closed

Description

@SoftCreatR

Test Data:

{
   "items":[
      {
         "key1":10,
         "key2":10
      },
      {
         "key1":42,
         "key2":50
      }
   ]
}

Selector:

$.items[?(@.key1==@.key2)]

Result:

--- Expected
+++ Actual
@@ @@
- [{"key1":10,"key2":10}]
+ []

More information: https://cburgmer.github.io/json-path-comparison/results/filter_expression_with_equals_with_path_and_path

Activity

  1. added
    bug
    on Jun 2, 2021
  2. added
    enhancement
    and removed
    bug
    on Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhacktoberfest

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions