MCPcopy Create free account
hub / github.com/SplootCode/splootcode / serialize

Method serialize

packages/core/src/language/fragment.ts:58–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }
57
58 serialize(): SerializedFragment {
59 return {
60 category: this.nodeCategory,
61 nodes: this.nodes.map((node) => node.serialize()),
62 }
63 }
64}
65
66export function deserializeFragment(serFragment: SerializedFragment): SplootFragment {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected