Best way to compare 2 JSON files in Java

后端 未结 10 664
囚心锁ツ
囚心锁ツ 2020-12-13 13:56

How would you suggest this task is approached?

The challenge as i see it is in presenting diff information intelligently. Before i go reinventing the wheel, is there

10条回答
  •  臣服心动
    2020-12-13 14:01

    You could try the XStream's architecture, handling of JSON mappings

    Also, take a look at this post: Comparing two XML files & generating a third with XMLDiff in C#. It's in C# but the logic is the same.

提交回复
热议问题