serialize

serializes the data into JSON or XML format

object serialize( [string type] );
typestringthe format that the data will be serialized into.
Possible values: 'json' (default ), 'xml'.
objecta gantt data object

Example

gantt.serialize('xml');

See also
Back to top