Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mapping a Bean to Map<String,Object> #2504

Copy link
Copy link
@amaan75

Description

@amaan75
Issue body actions

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.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.