I have the following Json file.
{
"pagelen": 50,
"values": [
{
"rm": "dev",
"links": {
"watchers": {
"gre": "hello_world"
},
"url": [
{
"href": "test.com",
"name": "http"
},
{
"href": "ignore",
"name": "ssh"
}
],
}
"page": 1,
"size": 10
}
I want to pass every url
value to an for loop.
As I am now to shell scripting, I couldn't find the better way to do it.
every url
value should be passed in the loop
how we can achieve this?