
December 18th, 2012, 07:54 AM
|
|
Contributing User
|
|
Join Date: Nov 2003
Posts: 850
 
Time spent in forums: 1 Week 6 h 16 m 50 sec
Reputation Power: 10
|
|
|
Comparing JSON object against JAVA object for equality
I have a JAVA object. Its a very complex object with lots of nested hierarchies with a total of 50 classes.
Applying straight away the JSON or Jackson library to the JAVA class has not given successful results so I have made the
custom converted and successfully converted the java object to json(using JSON and Jackson).
At times, I have to define a new property with same name as interface in json for interfaces since we don't have interfaces in json/javascript
How can I compare my generated JSON object with the JAVA object for equality and ensure that no properties etc are missed?
__________________
Contact info:
Primary email: advanced.programmer@gmail.com
MSN/email: superprg@hotmail.com
AIM: superprg
|