MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / JSONOutputSerializer

Class JSONOutputSerializer

packages/trigger-sdk/src/io.ts:111–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111export class JSONOutputSerializer implements OutputSerializer {
112 serialize(value: any): string {
113 return JSON.stringify(value);
114 }
115
116 deserialize(value?: string): any {
117 return value ? JSON.parse(value) : undefined;
118 }
119}
120
121export type BackgroundFetchResponse<T> = {
122 status: number;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…