---
title: parseTldrawJsonFile
status: published
category: file-format
group: Function
author: api
date: 06/23/2023
order: 1
---<Small>Public Function</Small>




##### Parameters


<ParametersTable>

<ParametersTableRow>
<ParametersTableName>

`{ json, schema, }`

</ParametersTableName>
<ParametersTableDescription>

```ts
{
  schema: TLSchema
  json: string
}
```



</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>

##### Returns


```ts
Result<TLStore, TldrawFileParseError>
```

##### References

[TLSchema](/gen/tlschema/TLSchema-type), [TLStore](/gen/tlschema/TLStore-type), [TldrawFileParseError](/gen/file-format/TldrawFileParseError-type)

