-
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Description
Test Data:
[
{
"key":0
},
{
"key":42
},
{
"key":-1
},
{
"key":1
},
{
"key":41
},
{
"key":43
},
{
"key":42.0001
},
{
"key":41.9999
},
{
"key":100
},
{
"key":"some"
},
{
"key":"42"
},
{
"key":null
},
{
"key":420
},
{
"key":""
},
{
"key":{
}
},
{
"key":[
]
},
{
"key":[
42
]
},
{
"key":{
"key":42
}
},
{
"key":{
"some":42
}
},
{
"some":"value"
}
]
Selector:
$[?(@.key!=42)]
Result (Proposal A):
--- Expected
+++ Actual
@@ @@
-'[{"key":0},{"key":-1},{"key":1},{"key":41},{"key":43},{"key":42.0001},{"key":41.9999},{"key":100},{"key":"some"},{"key":"42"},{"key":null},{"key":420},{"key":""},{"key":{}},{"key":[]},{"key":[42]},{"key":{"key":42}},{"key":{"some":42}},{"some":"value"}]'
+'[{"key":0},{"key":-1},{"key":1},{"key":41},{"key":43},{"key":42.0001},{"key":41.9999},{"key":100},{"key":"some"},{"key":null},{"key":420},{"key":""},{"key":[]},{"key":[]},{"key":[42]},{"key":{"key":42}},{"key":{"some":42}}]'
https://cburgmer.github.io/json-path-comparison/results/filter_expression_with_not_equals.html
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfesthelp wantedExtra attention is neededExtra attention is needed