jsoncomparison
json compare utility
Decision gist · record as of 2026-08-14
Yes, if you need JSON/dict comparison in tests or data validation and can tolerate dormant maintenance. The package is stable, dependency-free, and widely used (1M+ monthly downloads). However, do not install if you require active bug fixes, Python 3.10+ support guarantees, or ongoing feature development—the last release was in 2021 and no updates are planned.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.6.1,<4.0.0; no external runtime dependencies.
- Low install friction with no runtime dependencies.
- Maintenance is dormant—last release was 2021-05-17, over 1915 days ago—so expect no active bug fixes or updates, though the package remains archived=false and the repo is still accessible.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes minimal restrictions; you can use this package freely in commercial and private projects with only attribution required.
last release 2021-05-17 (1915 days) · last repo commit 2024-05-05 · 68 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,017,473 downloads/mo, #4,499 on PyPI
Alternatives
Verify before relying
pip install jsoncomparison
from jsoncomparison import Compare, NO_DIFF
expected = {"key": "value"}
actual = {"key": "other"}
diff = Compare().check(expected, actual)
if diff != NO_DIFF:
print(diff)- Whether the package handles circular references or deeply nested structures without performance degradation.
- Current compatibility with Python 3.10+ given the last release predates those versions.
What it is and what it does
jsoncomparison is a utility for comparing two JSON-like objects (dictionaries, lists, nested structures) and reporting all differences in a structured format. It identifies type mismatches, value changes, missing or extra keys, and array length/content variations, returning a nested dictionary that mirrors the structure of the input and marks each discrepancy with metadata (_message, _expected, _received). The package is commonly used in test assertions to validate that actual API responses or data structures match expected outputs.
The library offers configuration options to customize comparison behavior—such as rounding tolerances for floats and array length checking—and supports ignore rules to exclude specific keys or values from comparison. With zero runtime dependencies and a pure-Python wheel distribution, it installs quickly and runs without external system requirements.
Use it for
- Validate API responses in integration tests by comparing expected JSON structure to actual server output.
- Detect configuration file changes by comparing old and new JSON/dict representations and reporting all differences.
- Assert test data correctness in unit tests where nested object equality needs detailed diff output.
- Debug data transformation pipelines by comparing input and output JSON structures to identify where values diverge.
- Generate human-readable diff reports for JSON documents in CI/CD pipelines to track what changed between versions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need JSON/dict comparison in tests or data validation and can tolerate dormant maintenance.
The package is stable, dependency-free, and widely used (1M+ monthly downloads). However, do not install if you require active bug fixes, Python 3.10+ support guarantees, or ongoing feature development—the last release was in 2021 and no updates are planned.
Install
jsoncomparison on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2021-05-17, over 1915 days ago—so expect no active bug fixes or updates, though the package remains archived=false and the repo is still accessible.
Requires Python >=3.6.1,<4.0.0; no external runtime dependencies.
License in practice
MIT license is permissive and imposes minimal restrictions; you can use this package freely in commercial and private projects with only attribution required.
Quickstart
pip install jsoncomparison
from jsoncomparison import Compare, NO_DIFF
expected = {"key": "value"}
actual = {"key": "other"}
diff = Compare().check(expected, actual)
if diff != NO_DIFF:
print(diff)
Verify before relying
- Whether the package handles circular references or deeply nested structures without performance degradation.
- Current compatibility with Python 3.10+ given the last release predates those versions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6.1,<4.0.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,915 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,017,473 / month, #4,499 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Testing |
Evidence: jsoncomparison-1.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “detect json differences”
- jsoncomparisonCompares two JSON-like objects and returns a detailed dictionary of…
- csv-diffCompares two CSV, TSV, or JSON files and reports what rows were…
- deepdiffDeepDiff compares dictionaries, iterables, strings, and arbitrary…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also condense-json · jsondiff · pyjson · recursive-diff · json-diff · dirty-equals · dictdiffer · deepdiff6 · coola · version-utils