Incompatible syntax
Opened this issue · 1 comments
boukeversteegh commented
Instead of:
$.Result.Books[?(@.title="my book")]
I have to write:
$.Result.Books[?(@."title"=="my book")]
In order to prevent PHP notices, and to prevent assignment instead of comparisson. Because of eval.
PHP Notice: Use of undefined constant title - assumed 'title' in /home/vagrant/application/src/vendor/peekmo/jsonpath/src/Peekmo/JsonPath/JsonPath.php(233) : eval()'d code on line 1
KeinborgMichael commented
same issue