-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels