{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"}],"enrichment":{"capability":"Merges multiple JSON documents into a single document using configurable merge strategies applied via JSON schema keywords.","skillfed_tags":["json-processing","schema-driven","document-consolidation"],"use_cases":["Consolidating configuration files from multiple sources where some fields should append and others should overwrite.","Tracking versioned changes to a document over time, keeping a limited history of field updates with metadata.","Merging contributions from multiple authors into a shared JSON document template.","Building incremental snapshots by repeatedly merging new revisions into a base document.","Combining API responses or data exports from different systems into a unified structure."],"what_it_does":"jsonmerge combines multiple JSON documents into one, applying merge logic that you control via JSON schema annotations. By default, it merges objects by combining their fields and overwrites other types, but you can customize behavior per field using schema keywords like mergeStrategy (e.g., 'append' to concatenate arrays, 'version' to track historical values). The package depends on jsonschema and is designed for scenarios where different authors contribute to shared documents or where you need to track document evolution across revisions.\n\nThe library works by accepting a base document and a head document, then producing a merged result. You can chain multiple merges to build up a document from many sources. It also provides a way to generate an output schema that describes the structure of merged results, which may differ from the input schema when strategies like 'version' transform field types.","worth_installing":"Yes, if you need schema-driven JSON merging and can tolerate an abandoned package. The library is stable (no known vulnerabilities, low install friction, permissive license), but you should validate input documents yourself and not expect bug fixes or compatibility updates. Best suited for internal tools or stable use cases where you control the merge logic and document structure."},"id":"jsonmerge","links":{"html":"https://skillfed.io/packages/jsonmerge","md":"https://skillfed.io/packages/jsonmerge.md","pypi":"https://pypi.org/project/jsonmerge/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-07-19","license_spdx":null,"license_treatment":"permissive","name":"jsonmerge","python_support":"unspecified","summary":"Merge a series of JSON documents."},"popularity":{"monthly_downloads":1313042,"position":4072,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.9.2"}
