Re:Better Git diff output for Ruby, Python, Elixir, Go
by rzzzt on Monday October 19, 2020 @02:44PM
(#24829502)
Is there a good utility for diff-ing JSON content? I am calling jq to sort keys first and then let the default textual diff highlight the changes, but that's neither convenient nor complete.
[ Parent
| on HN ]
Re:Better Git diff output for Ruby, Python, Elixir, Go
by stormy on Monday October 19, 2020 @06:36PM
(#24831795)
Graphtage is a command line utility and underlying library for semantically comparing and merging tree-like structures such as JSON, JSON5, XML, HTML, YAML, and TOML files.
Re:Better Git diff output for Ruby, Python, Elixir, Go
by jamietanna on Monday October 19, 2020 @05:06PM
(#24831028)
I've been doing similarly and have had pretty good success with that (https://www.jvt.me/posts/2020/08/24/pretty-print-json-diff/)