/Knowledge/sources/honojs__hono/llms-full/honorequest-parsebody-dot-notation--9664ce93276f.md
HonoRequest: parseBody() > Dot notation - hono-docs
HonoRequest: parseBody() Dot notation Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt dot notation Sum...
HonoRequest: parseBody() > Dot notation
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#dot-notation
Summary
If you set the dot option true, the return value is structured based on the dot notation. Imagine receiving the following data: ```ts twoslash const data = new FormData() data.append('obj.key1', 'value1') data.append('obj.key2', 'val...
Content
If you set the dot option true, the return value is structured based on the dot notation.
Imagine receiving the following data:
const data = new FormData()
data.append('obj.key1', 'value1')
data.append('obj.key2', 'value2')
You can get the structured value by setting the dot option true:
import { Context } from 'hono'
declare const c: Context
// ---cut---
const body = await c.req.parseBody({ dot: true })
// body is `{ obj: { key1: 'value1', key2: 'value2' } }`
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#dot-notation",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / HonoRequest > parseBody() > Dot notation",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 577,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "HonoRequest: parseBody() > Dot notation",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}