Utilities for turning nested dictionaries into dotted keys and back.
Extracted from a larger codebase where it had grown organically.
pip install json-flattenfrom json_flatten import jsonFlatten
result = jsonFlatten("example")
print(result)- No runtime dependencies outside the standard library.
- Tested on Python 3.9 and newer.
MIT