Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

wescules/diff3-json-merge-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

diff3-json-merge-algorithm

Get diff of 2 json objects: getDifferences(String documentToUpdate, String currentDocument)

Get the merged json object: merge(String sourceDocument, String currentDocument, String newDocument)

This json merge algorthim uses the diff3 merging strategy which uses the diff between source and published as well as source and new to generate the final json. The Source json is a common ancestor of the new(latest changes) and the published (whats currently in storage) json.

About

Finally a way to merge json!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /