Comparison
flatten-json vs json-flatten vs json-flattener
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Flatten JSON objects
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install flatten-jsonPython 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-flattenPython library for denormalizing nested dicts or json objects to tables and back
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install json-flattenerIn short
- flatten-json is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- json-flattener looks abandoned: avoid it for new projects.
- json-flatten is the most used: 407.7K downloads a month.
- json-flatten also has the best Pythie’s Index (14).
Side by side
| Metric | flatten-json | json-flatten | json-flattener |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 25 | 14 |