Home > hls.js > CMCDController > serialize
CMCDController.serialize() method
Serialize a CMCD data object according to the rules defined in the section 3.2 of [CTA-5004](https://cdn.cta.tech/cta/media/media/resources/standards/pdfs/cta-5004-final.pdf).
Signature:
static serialize(data: CMCD): string;
Parameters
Parameter | Type | Description |
---|---|---|
data | CMCD |
Returns:
string