0

I have a list of json property files ( around 20 json property files)

Now, need is to find common properties across these json files.

I have used guava api json file comparison, it compares 2 json files.

Pls suggest any other efficient way to achieve this.

NehaGoswami
  • 73
  • 1
  • 9
  • 1
    You can use _gson_ to iterate on the structures, and identify the equal values. – Reilas Jun 12 '23 at 19:28
  • yeah i thought of that, but creating a map of Map<"envronment" , "JSON" obj" > and then iterating it , comparing all 20 json files with each other, will that not be too cumbersome ? Did i understand your suggestion correctly? – NehaGoswami Jun 12 '23 at 20:20
  • I guess, I can't imagine any other way to do it. Possibly, part of the _gson_ documentation? – Reilas Jun 12 '23 at 20:24

0 Answers0