Textually diffing JSON

后端 未结 6 1085
挽巷
挽巷 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条回答
  •  余生分开走
    2020-12-13 16:12

    So, I wrote a tool to do unified diffs of JSON files a while ago that might be of some interest.

    https://github.com/jclulow/jsondiff

    Some examples of input and output for the tool appear on the github page.

提交回复
热议问题