{
"test1": {
"type": "string",
"value": "foo"
},
"test2": {
"type": "string",
"value": "bar"
}
}
In a json like above I need to get extract the following details. Assuming that I have to extract the key and the value both.
test1=foo
test2=bar
Is there anyway this is possible through bash?