I have a question that I am seeking to solve with github modul/bash command.
Let say I have this json:
{
"containers": [
{
"name": "container1",
"image": "image1",
"cpu": 0
},
{
"name": "container2",
"image": "image2",
"cpu": 0
}
]
}
and I want to extract the value of the image of the first container. I couldn't find a proper github modul that handles encapsulation in json. Does anyone knows something relevant/sh command? I will like to avoid adding an external sctipt to handle it.
thank you!