MCPcopy
hub / github.com/Effect-TS/effect / toJSON

Function toJSON

packages/platform/src/Cookies.ts:103–108  ·  view source on GitHub ↗
(this: Cookies)

Source from the content-addressed store, hash-verified

101 [TypeId]: TypeId,
102 ...Inspectable.BaseProto,
103 toJSON(this: Cookies) {
104 return {
105 _id: "@effect/platform/Cookies",
106 cookies: Record.map(this.cookies, (cookie) => cookie.toJSON())
107 }
108 },
109 pipe() {
110 return pipeArguments(this, arguments)
111 }

Callers

nothing calls this directly

Calls 2

mapMethod · 0.65
toJSONMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…