I created a package called
json_formatter. It’s integrated with mix format plugin to format JSON file and
~J (Thanks to
jason version 1.3). The library is now published on hex.pm (json_formatter | Hex).
If you have some idea on improvement or found a bug. Feel free to create an issue on the repo