@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