MCPcopy Index your code
hub / github.com/solidjs/solid-start / serializeToJSONString

Function serializeToJSONString

packages/start/src/fns/serialization.ts:193–196  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

191}
192
193export async function serializeToJSONString(value: any) {
194 const response = new Response(serializeToJSONStream(value));
195 return await response.text();
196}
197
198export async function deserializeFromJSONString(json: string) {
199 const blob = new Response(json);

Callers 2

initializeResponseFunction · 0.90
fnFunction · 0.90

Calls 1

serializeToJSONStreamFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…