/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-dot-notation-041cd2bfc432-dot-notation-s0577-c0000.md
Dot notation - hono-docs
Dot notation Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt dot notation Summary If you set the...
Dot notation
Source evidence: /Sources/raw/honojshono/honojshono.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' } }`