Using our new API I am trying to extract several lines from the results of the API call and put those results into a bash array. Can anyone help me with this please. This is an example of the API output:
{
"id": "1l2k3j",
"createDate": "2015-03-06T03:40:29.000Z",
"accountId": "12345",
"url": "www.google.com",
},
{
"id": "z0x99c",
"createDate": "2015-03-06T03:43:04.000Z",
"accountId": "12345",
"url": "www.yahoo.com",
},
I need to put the ids (for example: z0x99c) into a bash array.