Can Mapstruct map a bean to a map<String,Object>
i am thinking along the lines of
Map<String,Object> convertToMap(SomePojo Bean);
all the fields become the string key, value is the value in the map but as an object :).
If this is doable with the current map struct then how about updating the reference guide and adding an example,
I can help with both.
Can Mapstruct map a bean to a map<String,Object>
i am thinking along the lines of
Map<String,Object> convertToMap(SomePojo Bean);
all the fields become the string key, value is the value in the map but as an object :).
If this is doable with the current map struct then how about updating the reference guide and adding an example,
I can help with both.