-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSONPath $..book[(@.length-1)] fails - Parse error at 1:8 near token ( (() #7
Comments
Array slice operator solution for the same use case works: Get the last book in order
# Get Value From Json ${bookstore_data} $..book[(@.length-1)] > broken as shown above
Get Value From Json ${bookstore_data} $..book[-1:] # works |
i am having issue
|
length is not recognized by the parser as a specific keyword. |
PREREQUISITE:
You have installed JSONLibrary
-- >
pip install robotframework-jsonlibrary
How to reproduce
bookstore.robot
with following contentbookstore.json
with JSON data:Result
The text was updated successfully, but these errors were encountered: