有没有办法获取Java中两个JSON对象之间的差异?

时间:2020-05-20 15:49:57

标签: java json diff

{"monitors":[{"name": "Dummy","threshold": 155},{"name": "Dummy1","threshold": 321}]}
{"monitors":[{"name": "Dummy","threshold": 215},{"name": "Dummy1","threshold": 341}]}

所以基本上我想获得值不同的JSON字段。我在Java中有一个API可以做到这一点。

我希望输出的代码类似于我们在Git或任何其他VC中看到的diff。

0 个答案:

没有答案