This is my json data:
{
  "AccountRegion": "testaccount",
  "AssumeRole": "arn",
  "Policies": [
    "hello",
    "world"
  ],
  "Region": "usa"
},
{
  "AccountRegion": "testaccount-2",
  "AssumeRole": "arn",
  "Policies": "anotherpolicy",
  "Region": "usa"
}I am not able figure out how to loop through the JSON. I would like to loop through the data and get policies for each member in the dataset. How can I accomplish this?
 
     
    