Zum Hauptinhalt springen

serialize

Description​

Serializes the data into JSON or XML format

serialize: (type?: string) => any

Parameters​

  • type - (optional) string - das Format, in das die Daten serialisiert werden.
    Mögliche Werte: 'json' (Standard ), 'xml'.

Returns​

  • data - (object) - ein Gantt-Datenobjekt

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.