Skip to content

Small library which uses Java reflection to merge 'source' and 'target' objects

Notifications You must be signed in to change notification settings

dimashnurenko/patch_applier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Small library which uses Java reflection to merge 'source' and 'target' objects. Can be used in cases when object partially update is needed.

Real use case: REST API PATCH method

Benefits:

  1. Easy to use
  2. Don't have third party dependency
  3. Very small

How to use:

See

com.tarde.merger.DataProvider - target object data structure

com.tarde.merger.ObjectMergerTest - use cases

Code example:

ObjectMerger.mergerOf(source, target).merge();

About

Small library which uses Java reflection to merge 'source' and 'target' objects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages