nkadwa

nkadwa / JSONDiff / 0.1.0

README.md

Algorithm that returns a diff set between "left" and "right" inputs.

Input:

A JSON formatted object containing "left" and "right" keys.

​Example: {"left": {"a": 1, "b": 2}, "right": {"a": 1, "b": 3}}

Output:

A diff set in JSON form:

​Example: {"b":[2,3]}