We are in need of formatting the JSON file using shell scripting.
INPUT
{
"version": ["sessionrestore",1], "windows": [{"tabs": [{"entries": [{"title": "news.ORF.at","docshellID": 298,"docIdentifier": 10062,"persist": true},{"title": "news.at","docshellID": 288,"docIdentifier": 00062,"persist": false}]}
}
}
Expected Output
{
"version": [
"sessionrestore",1
],
"windows": [
{
"tabs": [
{
"entries": [
{title : news.ORF.at , docshellID : 298, docIdentifier : 10062 ,persist : true},
{title: news.at,docshellID: 288,docIdentifier: 00062,persist: false}
]
}
}
}
Can anyone help us to get the desired output using shell scripting? Please let me know if any additional information required on this