I have an array (it might be an object too, I don’t know what I’m talking about):
grid.columns[0].text
grid.columns[1].text
grid.columns[2].text
And so on. I want to convert it into JSON. I’ve tried to use JSON.stringify(grid.columns.text) but it didn’t work: it gives null.
Try with
Alternatively