The JSONPath that is normally working is not working when used in rest-assured-JSONPath
tenants=jpath.getList("$..aa[?(@.name=='tid')].value");
is throwing
Script1.groovy: 1: expecting EOF, found '[' @ line 1, column 59.
untime-response'.$..aa[?(@.name=
$..aa[?(@.name=='tid')].value
is working when I validated using https://jsonpath.com/
what am i doing incorrectly? please help. thanks in advance.