Standard

JSON Flatten/Unflatten

Flatten nested JSON into dot-notation keys, or rebuild nested JSON from a flat object.

Advertisement

About this tool

Flatten turns user.address.city into a single top-level key; Unflatten reverses this, rebuilding the nested structure from dotted keys.