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

Method toJSON

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

toJSONMethod · 0.65

Tested by

no test coverage detected