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