method Layer.prototype.toJSONimport { Layer } from "https://dotland.deno.dev/x/oak@v17.1.3/router.ts"; toJSON(): Route<any, any, any>ReturnsRoute<any, any, any>