I need to add @JsonIgnore annotated fields while serializing an object by Jackson ObjectMapper. I know you may offer me to remove the @JsonIgnore
@JsonIgnore
Jackson ObjectMapper
I would suggest removing and re-adding them programmatically via reflection when your specific mapping is happening.