{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"Compares two JSON-like objects and returns a detailed dictionary of differences, including type mismatches, value changes, missing keys, and array length variations.","skillfed_tags":["testing","json-diff","data-validation"],"use_cases":["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."],"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.\n\nThe library offers configuration options to customize comparison behavior\u2014such as rounding tolerances for floats and array length checking\u2014and 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.","worth_installing":"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\u2014the last release was in 2021 and no updates are planned."},"id":"jsoncomparison","links":{"html":"https://skillfed.io/packages/jsoncomparison","md":"https://skillfed.io/packages/jsoncomparison.md","pypi":"https://pypi.org/project/jsoncomparison/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2021-05-17","license_spdx":null,"license_treatment":"permissive","name":"jsoncomparison","python_support":"supports_current","summary":"json compare utility"},"popularity":{"monthly_downloads":1017473,"position":4499,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
