Currently I'm getting data in the format below:
arr=[
0: {abc:1},
1: {efg:2},
2: {hij:3}
]
I need it in below format:
arr=[
{name:'abc', value:1},
{name:'efg', value:2},
{name:'hij', value:3}]
Currently I'm getting data in the format below:
arr=[
0: {abc:1},
1: {efg:2},
2: {hij:3}
]
I need it in below format:
arr=[
{name:'abc', value:1},
{name:'efg', value:2},
{name:'hij', value:3}]