Class JsonSerializeMapper
java.lang.Object
io.micronaut.serde.processor.jackson.ValidatingAnnotationMapper
io.micronaut.serde.processor.jackson.databind.JsonSerializeMapper
- All Implemented Interfaces:
- io.micronaut.core.naming.Named,- io.micronaut.inject.annotation.AnnotationMapper<Annotation>,- io.micronaut.inject.annotation.NamedAnnotationMapper
Support for JsonSerialize(as=MyType).
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetName()protected List<io.micronaut.core.annotation.AnnotationValue<?>>mapValid(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) The transform method will be called for each instances of the annotation returned via this method.Methods inherited from class io.micronaut.serde.processor.jackson.ValidatingAnnotationMappermap
- 
Constructor Details- 
JsonSerializeMapperpublic JsonSerializeMapper()
 
- 
- 
Method Details- 
mapValidprotected List<io.micronaut.core.annotation.AnnotationValue<?>> mapValid(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) Description copied from class:ValidatingAnnotationMapperThe transform method will be called for each instances of the annotation returned via this method.- Specified by:
- mapValidin class- ValidatingAnnotationMapper
- Parameters:
- annotation- The annotation values
- visitorContext- The context that is being visited
- Returns:
- A list of zero or many annotations and values to map to
 
- 
getSupportedMemberNames- Overrides:
- getSupportedMemberNamesin class- ValidatingAnnotationMapper
- Returns:
- The set of annotation member names that are supported.
 
- 
getName
 
-