Skip to content

@burnmark-io/designer-core


@burnmark-io/designer-core / toJSON

Function: toJSON() ​

toJSON(doc): string

Defined in: packages/core/src/serialisation.ts:8

Serialise a document to a stable, pretty-printed JSON string. The output is the .label file format. Round-trip safe.

Parameters ​

doc ​

LabelDocument

Returns ​

string

Not affiliated with Dymo, Brother, Avery, or any hardware vendor.