Hacker News new | past | comments | ask | show | jobs | submit login

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.



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.

https://blog.trailofbits.com/2020/08/28/graphtage/


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/)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: