var instance = new GC.Spread.Sheets.Workbook(host); var value; // Type: any value = instance.fromJSON(workbookData);
function fromJSON( workbookData : Object ) : any;
Parameters
- workbookData
- The spreadsheet data from deserialization.
var instance = new GC.Spread.Sheets.Workbook(host); var value; // Type: any value = instance.fromJSON(workbookData);
function fromJSON( workbookData : Object ) : any;
activeSheet.getCell(0,0).value(123); var jsonStr = null; //export jsonStr = JSON.stringify(spread.toJSON(false)); //import spread.fromJSON(JSON.parse(jsonStr)); alert(jsonStr);
The deserializationOption parameter has the following arguments:
Name |
Type |
Description |
||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
deserializationOptions |
Object |
The deserialization options.
|