method Layer.prototype.toJSONimport { Layer } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.2/router.ts?p=prototype.toJSON&s=Layer";toJSON(): Route<any, any, any>ReturnsRoute<any, any, any>[src]