I can not for the life of me figure out how to iterate over this array
{
'name1' => {
'a' => [
'one',
'two',
].
'b' => [
'three',
'four',
]
},
'name2' => {
'a' => [
'one',
'two',
].
'b' => [
'three',
'four',
]
}
}
I want a for loop to iterate through the first element (name1 and name2 in my example) but I can't figure it out. Help please?