Forums Register Login

how to compare two json object at java side

+Pie Number of slices to send: Send
Hi ALL, I am planning to compare two json objects at java side. each service json object structure may vary. So, I want to write common code for json object comparision. I cant use Jackson or any other library/API. because, I need to get approval to use. It will be more burden rather than writing my own java coding. So, Please give idea. How can i write json object comparision? And, Please provide sample code base

Thanks in advance
+Pie Number of slices to send: Send
I recommend using this Java library for comparing JSONs:
https://github.com/fslev/json-compare

It has all kinds of features.
No holds barred. And no bars holed. Except this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 11109 times.
Similar Threads
Index out of bound exception while comparing elements in the same list dynamically
Getting the javascript object(created in browser) as part of httservletrequest?
To compare output of result set
JSON response to populate listbox
Custom Search With ArrayList
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:40:40.