MCPcopy Create free account
hub / github.com/liveblocks/liveblocks / toJSON

Method toJSON

packages/liveblocks-react-flow/src/node.ts:50–50  ·  view source on GitHub ↗

Returns a plain object snapshot with `nodes` and `edges` arrays.

()

Source from the content-addressed store, hash-verified

48 readonly edges: readonly E[];
49 /** Returns a plain object snapshot with `nodes` and `edges` arrays. */
50 toJSON(): {
51 nodes: readonly N[];
52 edges: readonly E[];
53 };

Callers 15

getFormattedTextFunction · 0.65
getYTypedValueFunction · 0.65
yDocToJsonFunction · 0.65
lsonToJsonFunction · 0.65
toJSONMethod · 0.65
_toJSONMethod · 0.65
toJSONMethod · 0.65
_toJSONMethod · 0.65
toJSONMethod · 0.65
_toJSONMethod · 0.65

Calls

no outgoing calls

Tested by 14

liveListUpdateToJsonFunction · 0.52
serializeUpdateToJsonFunction · 0.52
expectStorageAndStateFunction · 0.52
expectStorageFunction · 0.52
prepareStorageTestFunction · 0.52
expectStorageFunction · 0.52
prepareStorageUpdateTestFunction · 0.52
recordFunction · 0.52