Live data from Hacker News

An automation-friendly JSON diffing tool

github.com

1–2 of 2 posts

Re: An automation-friendly JSON diffing tool

#2
I've been struggling with a useful json diffing tool. Making sure that array order doesn't matter during comparison, ignoring specified fields when needed, respecting color output are all thing I care about. Other json comparison tools are well-suited for manual comparison, but I need this solution to be automatied.

The closest I've come is `pdiffjson`, which is great, and you can see I riffed off that significantly, but I really needed a few more things than what that could provide.

Anyway, thought this might be a useful script for other people.