- What does flattening do to nested JSON?
- Every leaf value becomes a key in a single flat object, with the path encoded as dot-separated keys (`user.address.city`). Arrays use bracket indexes (`items[0].id`).
- Why would I flatten JSON?
- CSV export, feature engineering for ML, comparing nested configs as a list, and loading into column-stores that don't handle nested types natively.
- Can I reverse the flatten?
- Yes — the same tool unflattens. Paste dot-notation keys and values and it rebuilds the nested object/array structure.
- What about keys that contain dots?
- By default dots in original keys are preserved in the flattened output and the tool uses a configurable separator ('.', '/', '__') so you can avoid collisions.