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

Method stringify

src/index.ts:83–85  ·  view source on GitHub ↗
(object: SuperJSONValue)

Source from the content-addressed store, hash-verified

81 }
82
83 stringify(object: SuperJSONValue): string {
84 return JSON.stringify(this.serialize(object));
85 }
86
87 parse<T = unknown>(string: string): T {
88 return this.deserialize(JSON.parse(string), { inPlace: true });

Callers 1

index.test.tsFile · 0.80

Calls 1

serializeMethod · 0.95

Tested by

no test coverage detected