You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume I have a class called Student, that has been annotated with @JsonMapper and contains the following fields:
Long id
String Name
Date registrationTime
I would like to add a custom mapper that serializes just the registration time but leaves the other fields to get serialized by default. How can this be done? In jackson, there exists an annotation @Jsonserializer, but I haven't spotted anything that matches this in domino.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Assume I have a class called Student, that has been annotated with @JsonMapper and contains the following fields:
I would like to add a custom mapper that serializes just the registration time but leaves the other fields to get serialized by default. How can this be done? In jackson, there exists an annotation @Jsonserializer, but I haven't spotted anything that matches this in domino.
Beta Was this translation helpful? Give feedback.
All reactions