MCPcopy
hub / github.com/flightcontrolhq/superjson / parse

Method parse

src/index.ts:87–89  ·  view source on GitHub ↗
(string: string)

Source from the content-addressed store, hash-verified

85 }
86
87 parse<T = unknown>(string: string): T {
88 return this.deserialize(JSON.parse(string), { inPlace: true });
89 }
90
91 readonly classRegistry = new ClassRegistry();
92 registerClass(v: Class, options?: RegisterOptions | string) {

Callers 1

index.test.tsFile · 0.80

Calls 1

deserializeMethod · 0.95

Tested by

no test coverage detected