/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-json-5ad55eae8120-json-s0578-c0000.md
json() - hono-docs
json() Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt json Summary Parses the request body of ty...
json()
Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#json
Summary
Parses the request body of type application/json ts twoslash import { Hono } from 'hono' const app = new Hono() // ---cut--- app.post('/entry', async (c) => { const body = await c.req.json() // ... })
Content
Parses the request body of type application/json
import { Hono } from 'hono'
const app = new Hono()
// ---cut---
app.post('/entry', async (c) => {
const body = await c.req.json()
// ...
})