Object Mapper for java
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Krrish Ghimire 3d909c3632 fix: Add synthetic check for reflection fields 5 years ago
build/libs fix: Add synthetic check for reflection fields 5 years ago
gradle/wrapper feat: Add mapper for objects with same fields 5 years ago
src/np/com/krrish fix: Add synthetic check for reflection fields 5 years ago
test/np/com/krrish fix: Accept class parameter for destination instead of class name 5 years ago
.gitignore fix: Accept class parameter for destination instead of class name 5 years ago
LICENSE fix: Ignore if field does not exist 5 years ago
README.md Add README.md 5 years ago
build.gradle feat: Add mapper for objects with same fields 5 years ago
gradlew feat: Add mapper for objects with same fields 5 years ago
gradlew.bat feat: Add mapper for objects with same fields 5 years ago
settings.gradle feat: Add mapper for objects with same fields 5 years ago

README.md

Where to get the library?

Download the jar file from build/libs and include it in your project

How to use?

import np.com.krrish.Mapper;

DestinationObject destinationObject = (DestinationObject) Mapper.map(sourceObject, DestinationObject.class);