So this should work with jsonpath
$.indexOf(.result.current[?(@.data[*].a)]))
But it doesn't. The closest I came to getting it to work is:
[*].indexOf(".result.current[?(@.data[*].a)]"))
So this should work with jsonpath
$.indexOf(.result.current[?(@.data[*].a)]))
But it doesn't. The closest I came to getting it to work is:
[*].indexOf(".result.current[?(@.data[*].a)]"))
Did you try to just use the normal json path syntax without the "$" at the beginning?