Public function

Signature
function parseTldrawJsonFile({
  json,
  schema,
}: {
  schema: TLSchema
  json: string
}): Result<TLStore, TldrawFileParseError>
Parameters
NameDescription

{ json, schema, }

{
  schema: TLSchema
  json: string
}
Returns
Result<TLStore, TldrawFileParseError>
References

TLSchema, TLStore

Source

packages/tldraw/src/lib/utils/tldr/file.ts

OfflineIndicatorremoveFrame