serialize
serializes SpreadSheet data to a JSON object
object serialize( [object options] );
options | object | optional, a set of configuration options |
object | a serialized JSON object |
Example
var data = $$("ssheet").serialize({options});
Related samples
Details
The options parameter allows you to define the way data will be serialized. You can specify the following settings:
- sheets - (boolean) true to serialize all the sheets. By default the parameter is set to false - only the data of the current sheet is serialized
- math - (boolean) false to disable serialization of math formulas. By default the parameter is set to true, and math formulas are serialized together with all other data of a sheet
- compactStyles (boolean) - true to remove unused styles from the sheets. false by default.
See also
Back to top