{"id":20872390,"url":"https://github.com/romnn/serde_json_merge","last_synced_at":"2025-05-12T13:33:44.912Z","repository":{"id":59902987,"uuid":"539919477","full_name":"romnn/serde_json_merge","owner":"romnn","description":"Merge, index, iterate, and sort a serde_json::Value (recursively).","archived":false,"fork":false,"pushed_at":"2023-07-08T02:03:57.000Z","size":834,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-14T11:44:21.837Z","etag":null,"topics":["extension","indexing","iterators","json","merge","recursively","rust","serde-json","sort"],"latest_commit_sha":null,"homepage":"https://romnn.github.io/serde_json_merge/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/romnn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-22T10:15:19.000Z","updated_at":"2023-08-31T15:03:20.000Z","dependencies_parsed_at":"2022-09-25T19:36:00.329Z","dependency_job_id":null,"html_url":"https://github.com/romnn/serde_json_merge","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romnn%2Fserde_json_merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romnn%2Fserde_json_merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romnn%2Fserde_json_merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romnn%2Fserde_json_merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romnn","download_url":"https://codeload.github.com/romnn/serde_json_merge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225136333,"owners_count":17426456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extension","indexing","iterators","json","merge","recursively","rust","serde-json","sort"],"created_at":"2024-11-18T06:18:59.869Z","updated_at":"2025-05-12T13:33:44.890Z","avatar_url":"https://github.com/romnn.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## serde_json_merge\n\n[\u003cimg alt=\"build status\" src=\"https://img.shields.io/github/actions/workflow/status/romnn/serde_json_merge/build.yaml?branch=main\u0026label=build\"\u003e](https://github.com/romnn/serde_json_merge/actions/workflows/build.yaml)\n[\u003cimg alt=\"test status\" src=\"https://img.shields.io/github/actions/workflow/status/romnn/serde_json_merge/test.yaml?branch=main\u0026label=test\"\u003e](https://github.com/romnn/serde_json_merge/actions/workflows/test.yaml)\n[\u003cimg alt=\"benchmarks\" src=\"https://img.shields.io/github/actions/workflow/status/romnn/serde_json_merge/bench.yaml?branch=main\u0026label=bench\"\u003e](https://romnn.github.io/serde_json_merge/)\n[\u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/serde_json_merge\"\u003e](https://crates.io/crates/serde_json_merge)\n[\u003cimg alt=\"docs.rs\" src=\"https://img.shields.io/docsrs/serde_json_merge/latest?label=docs.rs\"\u003e](https://docs.rs/serde_json_merge)\n\nMerge, index, iterate, and sort a `serde_json::Value` (recursively).\n\nThis library supports in-place merging and sorting using DFS and BFS traversal.\n\n\u003c!-- unlike most implementations out there that use recursion and can stack overflow. --\u003e\n\n```toml\n[dependencies]\nserde_json_merge = \"0\"\n```\n\n#### Usage\n\nFor usage examples, check the [examples](https://github.com/romnn/serde_json_merge/tree/main/examples) and [documentation](https://docs.rs/serde_json_merge).\n\n#### Examples\n\nTODO: embed these examples here\n\n```bash\ncargo run --example async_fs --features async -- --path ./\ncargo run --example sync_fs --features sync,rayon -- --path ./\n```\n\n#### Development\n\n```bash\ncargo install cargo-criterion\ncargo install cargo-feature-combinations\nbrew install taskfile\n\n# see a list of development tasks such as `test`, `bench`, or `lint`\ntask --list\n```\n\nBenchmark reports are available [here](https://romnn.github.io/serde_json_merge/).\n\n#### Acknowledgements\n\nAfter I wrote this crate for another project and decided to publish it, I found [json_value_merge](https://crates.io/crates/json_value_merge).\n\nLooking through it, I added `merge_index` inspired by their `merge_in` API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromnn%2Fserde_json_merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromnn%2Fserde_json_merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromnn%2Fserde_json_merge/lists"}