jmapper-core
jmapper-core copied to clipboard
Elegance, high performance and robustness all in one java bean mapper
Hi, I am trying to map to a object that contains a nested object that has the same source as the main object, for example: ``` public class ClassA {...
I have 3 java classes : Order, Customer and Item. Source class "Order" contains list of "Customer" in it. And "Customer" class contains list of "Item". I want to map...
i'm trying to map a java object from autogenerated class with just a getter in uppercase, when i try to map it, jmapper search a getter in camelcase there's a...
Hello, I would like to use JMapper but wonder if and how it is possible to map encapsulated complex types. I described the question on stackoverflow. Would appreciate any help....
I am trying to loop over source[List] to get data attribute pushing it to source. I am using for loop but I get an error in codition operator. how can...
Please update the xstream dependency to version >= 1.4.10. The version 1.4.9 carries a potential security vulnerbility as stated by your VersionEye badge.
Add feature to define custom conversion between types rather than fields Proposal ``` @JMapTypeConversion(from=Long.class, to=BigDecimal.class) BigDecimal fromLongToBigDecimal(Long longValue) { ... } @JMapTypeConversion(to=BigDecimal.class, from=Long.class) Long fromBigDecimalToLong(BigDecimal decimal) { ... } ```...
Issues happens when creating mapper with API and attribute has custom accessor annotation. Here is minimal Test class ``` import com.googlecode.jmapper.JMapper; import com.googlecode.jmapper.annotations.JMapAccessor; import com.googlecode.jmapper.api.JMapperAPI; import org.junit.Assert; import org.junit.Test; import...
Hello, there is one wrong slash at the end of jmapper entity start tag on page: https://github.com/jmapper-framework/jmapper-core/wiki/XSD
When mapping multiple fields to a map AND one of those fields is null all members listed before this field in class are lost (map is set to null). `public...