The data source of the sheet or table can be serialized to JSON if you call Spread.toJSON with an object that has the includeBindingSource property set to true.
This makes it easy to include the actual data source that the Spread instance is bound to when serializing it to JSON. If you wanted to load that JSON in another Spread instance, you wouldn't have to worry about binding Spread to a datasource again because it is already included.
sheet.setDataSource(dataSource); var spread1 = GC.Spread.Sheets.findControl(document.getElementById('ss')); var jsonString = JSON.stringify( spread1.toJSON( { includeBindingSource: true } ) );