I am unable to loop through the multidimensional map, I have a sample map below, here known values are its key. i.e 'one', 'two'.. Now how can I find out the inner values of it. I would like to get a,b from one and c,d from two
{
one: {
a: {
id: '6',
name: 'abc',
age: '30',
place: 'xyz'
},
b: {
id: '7',
name: 'def',
age: '31',
place: 'xyx'
},
},
two: {
c: {
id: '8',
name: 'ghi',
age: '32',
place: 'xxz'
},
d: {
id: '9',
name: 'ghi',
age: '33',
place: 'yyx'
}
}
}
It would be really helpful if I get any solution for this..Thanks in advance