본문으로 건너뛰기

serialize

Description

데이터를 JSON 또는 XML 형식으로 직렬화합니다

serialize: (type?: string) => any

Parameters

  • type - (optional) string - 데이터가 직렬화될 형식.
    가능한 값: 'json' (기본값 ), 'xml'.

Returns

  • data - (object) - gantt 데이터 객체

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.