Flattening a nested address
{ "user": { "address": { "city": "London" } } }{ "user.address.city": "London" }Flatten nested JSON to dot/bracket-path keys, or rebuild the nested structure from flat keys.
Was this tool useful?
A deeply nested JSON document doesn't fit a spreadsheet column, an env variable, or a form field particularly well — flattening it to `parent.child[0].grandchild`-style keys does. Unflattening reverses the same operation, for whichever direction the day's task needs.
{ "user": { "address": { "city": "London" } } }{ "user.address.city": "London" }