Comparison
json-flatten vs unflatten
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python functions for flattening a JSON object to a single dictionary of pairs, and unflattening that dictionary back to a JSON object
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install json-flattenUnflatten dict to dict with nested dict/arrays
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install unflattenIn short
- json-flatten is the most used: 413.2K downloads a month, 5.7× more than unflatten.
- Maintenance is comparable: unflatten 16, json-flatten 14 on Pythie’s Index.
Side by side
| Metric | json-flatten | unflatten |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 14 | 16 |