Is your feature request related to a problem? Please describe.
It should be possible to specify a View for processing (serializing) a property.
Describe the solution you'd like
The proposed annotation, JsonApplyView, would be supported by jackson-databind.
Usage example
public class Outer {
@JsonApplyView(ViewA.class)
public Inner value1;
@JsonApplyView(ViewB.class)
public Inner value2;
}
Additional context
See FasterXML/jackson-annotations#78 for the whole discussion
Is your feature request related to a problem? Please describe.
It should be possible to specify a View for processing (serializing) a property.
Describe the solution you'd like
The proposed annotation, JsonApplyView, would be supported by jackson-databind.
Usage example
Additional context
See FasterXML/jackson-annotations#78 for the whole discussion