"$.actions.[?((@.failCount)&&(@.failCount)&&(@.totalCount))]"
but the result doesn't let me access failCount ie. "$.actions.[?((@.failCount)&&(@.failCount)&&(@.totalCount))].failCount" doesn't work as the result is an array.
{
"actions": [
{},
{},
{
"failCount": 1,
"skipCount": 0,
"totalCount": 33,
"urlName": "testReport"
}
]
}
$.actions[?(@.failCount)].failCount
[ 1 ]