{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"Computes structured diffs between JSON and JSON-like Python objects, representing changes as insertions, deletions, and updates rather than raw value replacements.","skillfed_tags":["json-processing","testing-tools","data-comparison"],"use_cases":["Track configuration changes between versions by diffing JSON config files to see exactly what was added, removed, or modified.","Generate minimal patches for API responses to transmit only the differences to clients rather than full payloads.","Compare test fixtures or expected vs. actual output in test suites to identify specific assertion failures.","Audit data migrations by diffing database exports or snapshots to verify what records changed.","Build change logs or diffs for version control of JSON-based data (e.g., Terraform state, CloudFormation templates)."],"what_it_does":"jsondiff computes a semantic diff between two JSON or JSON-like structures (dicts, lists, sets) and returns a compact representation of the changes. Instead of showing raw before-and-after values, it identifies specific insertions, deletions, and updates, making it easier to understand what changed between two versions of a data structure.\n\nThe package supports multiple diff syntaxes (compact, symmetric, explicit), can exclude specific paths from comparison, handles sets with special add/discard operations, and can load/dump JSON strings directly. It includes both a Python API and a command-line tool (jdiff) for comparing JSON and YAML files. The single runtime dependency is pyyaml, used for YAML support in the CLI.","worth_installing":"Yes. The package is lightweight, actively maintained, has no known vulnerabilities, uses a permissive MIT license, and solves a common problem cleanly. Install it if you need to understand or track changes in JSON or dict-like data structures; the low friction and stable API make it a safe dependency."},"id":"jsondiff","links":{"html":"https://skillfed.io/packages/jsondiff","md":"https://skillfed.io/packages/jsondiff.md","pypi":"https://pypi.org/project/jsondiff/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-08-29","license_spdx":null,"license_treatment":"permissive","name":"jsondiff","python_support":"supports_current","summary":"Diff JSON and JSON-like structures in Python"},"popularity":{"monthly_downloads":11617310,"position":1380,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.2.1"}
