CdmBuilder.startDocument

void startDocument(CdmDocument.Format fmt, string source) pure @safe

Begins a new document.

Sets the document format and source path. Call endDocument() to retrieve the completed CdmDocument.

Parameters

fmtThe document format (CF, JSON5, SDL, etc.).
sourceSource file path or identifier.