Skip to content

@burnmark-io/designer-core


@burnmark-io/designer-core / fromJSON

Function: fromJSON()

fromJSON(input): LabelDocument

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

Parse a .label JSON string into a LabelDocument, applying any needed migrations. Throws if the JSON is invalid or the document version is unsupported.

Parameters

input

string

Returns

LabelDocument

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