x/fastro/examples/response_json.ts
12345678910111213import application, { response } from "../server/mod.ts"const app = application()app.get("/", () => { const res = response() return res.json({ text: "Hello world" })})console.log("Listening on: http://localhost:8000")await app.serve()