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