I am trying to import an array of object into spreadjs, I am using the fromJSON method but it doesnt get imported, my data is an array of object that looks like this
let jsonObj =
[{ 'name' : 'One',
'id': 1,
'colour': 'blue'
},
{ 'name' : 'Two',
'id': 2,
'colour': 'yellow'
},
{ 'name' : 'Three',
'id': 3,
'colour': 'red'
}]
I am currently doing sheet.fromJSON(jsonObj)