Hi,
For exemple I have the following json
{
"scheduler": {
"schedulerInfo": {
"type": "fairScheduler",
"rootQueue": {
"queueName": "root",
"childQueues": [{
"queueName": "root.firstlevel1"
}, {
"queueName": "root.firstlevel2",
"childQueues": {
"queueName": "root.firstlevel2.aze"
},
"childQueues": {
"queueName": "root.firstlevel2.b"
}
}]
}
}
}
}
I would like to have the queueName of all childQueue.
I use the following expression : "$..childQueues.queueName"
The result is :
[
"root.firstlevel2.b"
]
How to have :
[
"root.firstlevel1",
"root.firstlevel2",
"root.firstlevel2.a",
"root.firstlevel2.b"
]
Thanks