Is it possibile to extract all the childrens of a parent node without respective data? For example, using jsonpath, I'd want list all options available under "spec", like below
containers
restartPolicy
dnsPolicy
{
"kind": "Pod",
"apiVersion": "v1",
"metadata": {
"name": "nginx",
"creationTimestamp": null,
"labels": {
"run": "nginx"
}
},
"spec": {
"containers": [
{
"name": "nginx",
"image": "nginx",
"resources": {}
}
],
"restartPolicy": "Always",
"dnsPolicy": "ClusterFirst"
},
"status": {}
}