MCPcopy Create free account
hub / github.com/Effect-TS/effect / toJSON

Method toJSON

packages/platform/node/src/NodeMultipart.ts:116–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114 }
115
116 toJSON(): unknown {
117 return {
118 _id: "@effect/platform/Multipart/Part",
119 _tag: "Field",
120 key: this.key,
121 value: this.value,
122 contentType: this.contentType
123 }
124 }
125}
126
127class FileImpl extends PartBase implements Multipart.File {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected