An automation-friendly JSON diffing tool

(github.com)

3 points | by zfolwick 12 hours ago

1 comments

  • zfolwick 12 hours ago
    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.