File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -102,11 +102,12 @@ Script expressions are not supported as the original author intended because:
102102
103103So here are the types of query expressions that are supported:
104104
105- [?(@._KEY_ _OPERATOR_ _VALUE_)] // <, >, !=, and ==
105+ [?(@._KEY_ _OPERATOR_ _VALUE_)] // <, >, !=, == and in
106106 Eg.
107107 [?(@.title == "A string")] //
108108 [?(@.title = "A string")]
109109 // A single equals is not an assignment but the SQL-style of '=='
110+ [?(@.title in ["A string", "Another string"])]
110111
111112Known issues
112113------
@@ -131,6 +132,10 @@ The original JsonPath implementations is available at [http://code.google.com/p/
131132Changelog
132133---------
133134
135+ ### 0.6.3
136+ - Added support for ` IN ` expressions
137+ - Fixed evaluation on indexed object
138+
134139### 0.6.x
135140 - Dropped support for PHP < 7.1
136141 - Switched from (broken) PSR-0 to PSR-4
You can’t perform that action at this time.
0 commit comments