-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
What I mean is the following:
- Suppose I have a scenario with a Model called
Datawith these two attributes:serviceIdandvalues - I need first check if the
serviceIdis valid with theRulepattern, if is, the mapping continues. - After that I retrieve the parameters from that
Serviceby theserviceId(parametersis a property from theServiceModel). - I rearrange/sort the
valuesproperty from theDatamodel that is being mapped, according to theparametersfrom theServicemodel that is stored in the database.
How could I do the item 4? With cweiske/jsonmapper I was only doing setters in order of achieve that.
Does this library also uses setters in order to set a custom mapped data with the input data?
Or could I use the Rule pattern? or does there exists another pattern? Thanks!
Metadata
Metadata
Assignees
Labels
No labels