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:
- Easy to use
- Don't have third party dependency
- 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();