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

Function toJSON

packages/effect/src/unstable/http/UrlParams.ts:118–123  ·  view source on GitHub ↗
(this: UrlParams)

Source from the content-addressed store, hash-verified

116 return this.params[Symbol.iterator]()
117 },
118 toJSON(this: UrlParams): unknown {
119 return {
120 _id: "UrlParams",
121 params: Object.fromEntries(this.params)
122 }
123 },
124 [Equal.symbol](this: UrlParams, that: UrlParams): boolean {
125 return Equivalence(this, that)
126 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected