varJson='[
{
"id": 1296269,
"name": "Hello-World",
"full_name": "octocat/Hello-World",
"created_at": "2011-01-26T19:01:12Z",
"updated_at": "2011-01-26T19:14:43Z"
},
{
"id": 1296270,
"name": "Hello-World2",
"full_name": "octocat/Hello-World2",
"created_at": "2011-01-26T19:01:12Z",
"updated_at": "2011-01-26T19:14:43Z"
}
]'echo "$varJson" | jq -r '.[] | "\(.name) \(.created_at)"'Hello-World 2011-01-26T19:01:12Z
Hello-World2 2011-01-26T19:01:12Z git clone https://github.com/somerepogit clone git@github.com:somerepogit remote -vgit remote set-url origin git@github.com:somerepo