I have this emails from an api response
"emails": "{\"1\": \"help@me.com\", \"2\": \"help2@help.com\", \"3\": \"please@helpme.com\"}"
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?