我是用如下方法转换成json字符串后给你的:
var serializationOption = {
ignoreFormula: true, // indicate to ignore the style when convert workbook to json, default value is false
ignoreStyle: true, // indicate to ignore the formula when convert workbook to json, default value is false
rowHeadersAsFrozenColumns: true, // indicate to treat the row headers as frozen columns when convert workbook to json, default value is false
columnHeadersAsFrozenRows: true // indicate to treat the column headers as frozen rows when convert workbook to json, default value is false
}
var jsonString = JSON.stringify(spread1.toJSON(serializationOption)); |