Hi everyone
I'm getting a JSON in a playbook action. I want to reuse that json in another action of my playbook.
I'm trying to get the value of a subkey “category” in a nested json like this
{
“a”:{“category”:1},
“b”: {“category”:3}
}
I haven’t found a way to extract “category” values ignoring the parent keys.
Is there a way to do it?
I’m expecting to get a result like [1,3]
Parent keys are dynamic and I can't predict or list every possibilities
Do you know how we can do this?
Many thanks by advance :)


