I have a json which is as below:
{
"ref": "a",
"details": {
"ref": "b",
"properties": [
{ "ref": "c" },
{ "ref": "d" }
]
}
}
I want to get all the values whose property is "$ref" using JMESpath.
I tried ..ref but it didn't work.
Output should be: ["a", "b", "c", "d"]
