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.
gridobject orgrid.columnsarray?grid.columns) whose elements have.textproperties, while you are trying to stringify a.textproperty on the array itself. It is not clear what you are trying to do, so I cannot suggest how to fix your code.gridobject is very big. thegrid.columnsarray.console.log(grid.columns)I see that thegrid.columnsis very very huge.