Перейти к основному содержимому

serialize

Description

Сериализует данные в формат JSON или XML

serialize: (type?: string) => any

Parameters

  • type - (optional) string - формат, в который будут сериализованы данные.
    Возможные значения: 'json' (default ), 'xml'.

Returns

  • 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.