This repository has been archived by the owner on Oct 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
[?(@.key == null)] don't work #31
Comments
Workaround: Index: vendor/flow/jsonpath/src/Flow/JSONPath/Filters/QueryMatchFilter.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- vendor/flow/jsonpath/src/Flow/JSONPath/Filters/QueryMatchFilter.php (date 1560860453013)
+++ vendor/flow/jsonpath/src/Flow/JSONPath/Filters/QueryMatchFilter.php (date 1560860453013)
@@ -67,6 +67,10 @@
if ($operator == "<" && $value1 < $comparisonValue) {
$return[] = $value;
}
+ } else {
+ if($comparisonValue == null) {
+ $return[] = $value;
+ }
}
} |
4n70w4
added a commit
to 4n70w4/JSONPath
that referenced
this issue
Jun 18, 2019
4n70w4
added a commit
to 4n70w4/JSONPath
that referenced
this issue
Jun 18, 2019
4n70w4
added a commit
to 4n70w4/JSONPath
that referenced
this issue
Aug 5, 2019
4n70w4
added a commit
to 4n70w4/JSONPath
that referenced
this issue
Aug 5, 2019
up! |
Merged
This project is now marked as abandoned and suggests using |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want filter all items where not exists some key. In https://jsonpath.com/ this is works.
But via FlowCommunications/JSONPath this don't work (((
Do I need to use other syntax or is it not implemented?
The text was updated successfully, but these errors were encountered: