Problem: You are about to commit a change in minified, one-liner JSON file and want to see the diff.
Requirements:
- Node.js - if you're not a JS guy, you'll need to write the
pretty_json
file (see below) in language of your choice - (Optional) colordiff - or any other tool to colorize your diffs
Here's my unix/mac solution: