Open History to see the last commit
1---
2id: digestInterruptJson
3title: digestInterruptJson
4---
5
6```ts
7function digestInterruptJson(canonicalJson, hash?): string;
8```
9
10Defined in: [packages/ai/src/interrupt-serialization.ts:161](https://github.com/TanStack/ai/blob/main/packages/ai/src/interrupt-serialization.ts#L161)
11
12## Parameters
13
14### canonicalJson
15
16`string`
17
18### hash?
19
20`InterruptHash` = `defaultInterruptHash`
21
22## Returns
23
24`string`