I have an array like this:
data=[
{
test1:{a: ""}
},
{
test2: {a: ""}
}
]
How can I convert it to this:
data=[
{
test1:{a: ""},
test2:{a: ""}
}
]
Thanks.
I have an array like this:
data=[
{
test1:{a: ""}
},
{
test2: {a: ""}
}
]
How can I convert it to this:
data=[
{
test1:{a: ""},
test2:{a: ""}
}
]
Thanks.