{"id":26414275,"url":"https://github.com/borisskert/java-cloneutils","last_synced_at":"2025-09-15T14:42:18.532Z","repository":{"id":54427001,"uuid":"196524371","full_name":"borisskert/java-cloneutils","owner":"borisskert","description":"Utility to clone class instances by its properties","archived":false,"fork":false,"pushed_at":"2022-11-16T00:00:16.000Z","size":24,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-28T15:49:06.016Z","etag":null,"topics":["clone","clone-objects","deep-clone","deep-clone-objects","java","java-8","mapping","mapping-objects","patch","patch-objects"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/borisskert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-12T06:47:07.000Z","updated_at":"2024-05-28T15:49:06.017Z","dependencies_parsed_at":"2022-08-13T15:20:24.905Z","dependency_job_id":null,"html_url":"https://github.com/borisskert/java-cloneutils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisskert%2Fjava-cloneutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisskert%2Fjava-cloneutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisskert%2Fjava-cloneutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borisskert%2Fjava-cloneutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borisskert","download_url":"https://codeload.github.com/borisskert/java-cloneutils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244130272,"owners_count":20402753,"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":["clone","clone-objects","deep-clone","deep-clone-objects","java","java-8","mapping","mapping-objects","patch","patch-objects"],"created_at":"2025-03-17T23:58:31.924Z","updated_at":"2025-03-17T23:58:32.317Z","avatar_url":"https://github.com/borisskert.png","language":"Java","readme":"# Clone Utils\n\nThis utility class clones and patches POJOs my using Jackson's object-mapper.\n\n## Usage\n\nClone object:\n\n```\nMyObject cloned = CloneUtils.deepClone(new MyObject());\n```\n\nClone object to different type:\n\n```\nMyOtherType cloned = CloneUtils.deepClone(new MyObject(), MyOtherType.class);\n```\n\nClone and patch object:\n\n```\nMyObject patchedClone = CloneUtils.deepClone(new MyObject(), new MyPatch());\n```\n\nClone and patch object to different type:\n\n```\nMyOtherType patchedClone = CloneUtils.deepClone(new MyObject(), new MyPatch(), MyOtherType.class);\n```\n\n## Build\n\n```bash\n$ mvn package\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisskert%2Fjava-cloneutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborisskert%2Fjava-cloneutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisskert%2Fjava-cloneutils/lists"}