Can anyone suggest an algorithm to compare two JSON structures and pin-point where all the differences are? Get link Facebook X Pinterest Email Other Apps - November 05, 2017 Can anyone suggest an algorithm to compare two JSON structures and pin-point where all the differences are? Get link Facebook X Pinterest Email Other Apps Comments Nicholas RingNovember 6, 2017 at 4:13 PMZoë Peterson I would be interested in anything you could provide... it seems that I am heading in to new territory (:ReplyDeleteRepliesReplyDavid HeffernanNovember 6, 2017 at 7:48 PMNicholas Ring this is why you normalise. The approach I described is easy to do with the tools described. ReplyDeleteRepliesReplyZoë PetersonNovember 7, 2017 at 3:21 PMNicholas Ring It looks like our research mostly ended around 2002, and I wasn't personally involved in it, so I don't know how helpful this will be, but here's what I have:XyDiff (C++)"Detecting Changes in XML Documents" by Gregory Cobena, Serge Abiteboul, Amelie Marianhttps://github.com/fdintino/xydiffDiffXML (Java)"CS4 Dissertation: XML Diff and Patch Utilities" by Adrian Mouathttp://diffxml.sourceforge.net/X-Diff (C++/Java)"X-Diff: An Effective Change Detection Algorithm for XML Documents" by Yuan Wang, David J DeWitt, Jin-Yi Caihttp://pages.cs.wisc.edu/~yuanwang/xdiff.htmlDiffMk (Java/GPL)https://sourceforge.net/projects/diffmk/XML-SemanticDiff (Perl)http://search.cpan.org/dist/XML-SemanticDiff/xmldiff (Python)https://www.logilab.org/project/xmldiffReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
Zoë Peterson I would be interested in anything you could provide... it seems that I am heading in to new territory (:
ReplyDeleteNicholas Ring this is why you normalise. The approach I described is easy to do with the tools described.
ReplyDeleteNicholas Ring It looks like our research mostly ended around 2002, and I wasn't personally involved in it, so I don't know how helpful this will be, but here's what I have:
ReplyDeleteXyDiff (C++)
"Detecting Changes in XML Documents" by Gregory Cobena, Serge Abiteboul, Amelie Marian
https://github.com/fdintino/xydiff
DiffXML (Java)
"CS4 Dissertation: XML Diff and Patch Utilities" by Adrian Mouat
http://diffxml.sourceforge.net/
X-Diff (C++/Java)
"X-Diff: An Effective Change Detection Algorithm for XML Documents" by Yuan Wang, David J DeWitt, Jin-Yi Cai
http://pages.cs.wisc.edu/~yuanwang/xdiff.html
DiffMk (Java/GPL)
https://sourceforge.net/projects/diffmk/
XML-SemanticDiff (Perl)
http://search.cpan.org/dist/XML-SemanticDiff/
xmldiff (Python)
https://www.logilab.org/project/xmldiff