Skip to main content

serialize

Description

Serializes the data into JSON or XML format

serialize: (type?: string) => any

Parameters

  • type - (optional) string - the format that the data will be serialized into.
    Possible values: 'json' (default ), 'xml'.

Returns

  • data - (object) - a gantt data object

Example

gantt.serialize('xml');
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.