i am using gson library. and need to find the diff of two json objects in JAVA
like if first one has a crn : 123
and second also
then difd wont contain this
but if second one has crn:125
then it returns crn:123
so the preference is given to the first one.
and an element is included only if either its not there in the other one. or its not same...
there could be nesting of objects...