Closed mbalex99 closed 5 years ago
You can build something together using this crate: http://crates.io/crates/treediff
.
It would be a good optional feature of this crate: provide differ that generates JSON Patch (using treediff behind the scenes)!
All, right, I put together a simple implementation using treediff. Let me know if that works for you (there should be a diff
function in the crate returning the patch generated by comparing two trees)!
Released to crates.io
How would you diff a left and right hand side json and create patches?