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

Method toJSON

packages/platform/src/internal/httpRouter.ts:195–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193 return this.httpApp
194 }
195 toJSON() {
196 return {
197 _id: "Router",
198 routes: this.routes.toJSON(),
199 mounts: this.mounts.toJSON()
200 }
201 }
202 toString() {
203 return Inspectable.format(this)
204 }

Callers 1

Calls 1

toJSONMethod · 0.65

Tested by

no test coverage detected