-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Provide a generic json mapper for any entity. #183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@alexandru-calinoiu
alexandru-calinoiu
Sep 17, 2016
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is a generic entity mapper, then I think the naming of this methods should reflect it, they can be transfromFromEntity
and transfromFromEntityCollection
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! Good catch!
Just fixed it, thanks.
...chitecture into provide_generic_jason_mapper
@android10 Just updated my PR and resolved merge conflicts.
Can you please give me your feedback?
Hi Fernando,
I changed
UserEntityJsonMapper
to a generic class namedEntiityJsonMapper
, so I can deserialize any kind of entity.Hope you like it!