A library to compare the similarity between two JSON objects, supporting custom thresholds, exclusion of fields, and handling of arrays. Current version 1.4.1 (PyPI) and up to 1.4.5 on GitHub. Maintenance status is unclear.
pip install pyjsonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: compare two JSON objects. Returns a dict with similarity score.
Use result['score'] to get similarity value.
Sanitize JSON inputs to avoid NaN/Infinity.
Run 'pip install pyjson' in the correct environment.
Replace 'import pyjson' with 'from pyjson import compare'.
No dependency data recorded yet.