spelling: cheaper

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-09-28 13:36:14 -04:00 committed by jcamiel
parent b8c6c17a30
commit 99b2c285f5
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC

View File

@ -26,7 +26,7 @@ jsonpath "$..book[:2].title" nth 1 == "Sword of Honour"
jsonpath "$..book[?(@.isbn)]" count == 2 # filter all books with isbn number
jsonpath "$..book[?(@.isbn)].title" nth 0 == "Moby Dick"
jsonpath "$..book[?(@.isbn)].title" nth 1 == "The Lord of the Rings"
jsonpath "$..book[?(@.price<10)]" count == 2 # filter all books cheapier than 10
jsonpath "$..book[?(@.price<10)]" count == 2 # filter all books cheaper than 10
jsonpath "$..book[?(@.price<10)].title" nth 0 == "Sayings of the Century"
jsonpath "$..book[?(@.price<10)].title" nth 1 == "Moby Dick"
jsonpath "$..*" count == 27 # all Elements in XML document. All members of JSON structure.