--- title: Serve JSON on a Specific Route --- ## Serve JSON on a Specific Route It is rather simple to serve a JSON object with Node (at the `/json` route), if we want to deliver an object containing a key `message` and with the value `"Hello json"` we can do so as indicated: ```javascript app.get("/json", (req, res) => { res.json({ "message": "Hello json" }); }); ```