I have this emails from an api response
"emails": "{\"1\": \"[email protected]\", \"2\": \"[email protected]\", \"3\": \"[email protected]\"}"
I tried to push it into an array like
this.data.forEach((item) => {
dataArr.push([
Object.values(JSON.parse(item.emails)),
])
})
But I'm getting only the first email and not the other emails. how do I solve this problem?