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

Function toJSON

packages/effect/src/unstable/http/Cookies.ts:224–229  ·  view source on GitHub ↗
(this: Cookies)

Source from the content-addressed store, hash-verified

222 [TypeId]: TypeId,
223 ...Inspectable.BaseProto,
224 toJSON(this: Cookies) {
225 return {
226 _id: "effect/Cookies",
227 cookies: Record.map(this.cookies, (cookie) => cookie.toJSON())
228 }
229 },
230 pipe() {
231 return pipeArguments(this, arguments)
232 }

Callers

nothing calls this directly

Calls 2

toJSONMethod · 0.65
mapMethod · 0.45

Tested by

no test coverage detected