jsondiff is an MIT-licensed Python library which lets you compare, diff and patch JSON and JSON-like structures in Python. It has special support for
- multiple and custom-defined diff syntaxes
- Python sets
- similarity-based list comparison
jsondiff is currently in an early stage. The API might change in backward incompatible ways.