This utility standardizes JSON data by sorting all keys within JSON objects alphabetically. This makes JSON files easier to compare (diff), ensures consistent API responses, and improves readability, saving developers time and reducing merge conflicts.
```bash
python tool.py my_data.json
```
```bash
python tool.py my_data.json -o sorted_data.json
```
共 1 个版本