serialize

serializes the data into JSON or XML format

void serialize( [string type] );

Parameters

typestringthe format that the data will be serialized into.
Possible values: 'json' (default ), 'xml'.

Example

gantt.serialize('xml');

See also
Back to top