Skip to content

Union With Filter #58

@SoftCreatR

Description

@SoftCreatR

Test Data:

[
   {
      "key":1
   },
   {
      "key":8
   },
   {
      "key":3
   },
   {
      "key":10
   },
   {
      "key":7
   },
   {
      "key":2
   },
   {
      "key":6
   },
   {
      "key":4
   }
]

Selector:

$[?(@.key<3),?(@.key>6)]

Result (Proposal A):

--- Expected
+++ Actual
@@ @@
-'[{"key":1},{"key":2},{"key":8},{"key":10},{"key":7}]'
+'[{"key":1},{"key":2}]'

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions