Forum Discussion
2 Replies
Sort By
- HKosovaSmartBear Alumni (Retired)
You don't need the quotes around the property expansion:
$..books[?(@.book.name==${#Project#bookName})].author[0]
A JSONPath expression is a code expression, so '${#Project#bookName}' in quotes is treated as a literal string, whereas without quotes it works as a property expansion.
This should work in the maintenance build:
https://support.smartbear.com/downloads/readyapi/nightly-builds/
- TanyaYatskovskaSmartBear Alumni (Retired)
Hi Vijay,
Could you please clarify a bit where you use this code? Please share several images of your screen to help us better understand the issue.
BTW, are you using the latest Ready! API version - v. 1.9? If you aren't, I suggest that you update to this version and check if the behavior has changed.
Related Content
- 9 months agoRichardPla
Recent Discussions
- 4 days agominhng