Skip to content

Data mapper - support mapping between map and pojo #228

Description

@greenlaw110

For the following given POJO class:

    public static class Bar {
        public int id;
    }

    public static class Foo {
        public String name;
        public Bar bar;
    }

Suppose an instance of Foo has the following data:

{
    "name": "abc",
    "bar": {
        "id": 123
    }
}

Then it shall be able to map to Map<String, Object> as:

"name": "abc",
"bar.id":  123

The reverse mapping shall also apply

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions