Textually diffing JSON

后端 未结 6 1073
挽巷
挽巷 2020-12-13 15:52

As part of my release processes, I have to compare some JSON configuration data used by my application. As a first attempt, I just pretty-printed the JSON and diff\'ed them

6条回答
  •  萌比男神i
    2020-12-13 16:28

    You should checkout difflet from substack. It's both a node.js module and command-line utility that does exactly this:

    https://github.com/substack/difflet

提交回复
热议问题