@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Component public @interface JsonComponent
Component that provides JsonSerializer and/or JsonDeserializer
 implementations to be registered with Jackson when JsonComponentModule is in
 use. Can be used to annotate JsonSerializer or JsonDeserializer
 implementations directly or a class that contains them as inner-classes. For example:
 
 @JsonComponent
 public class CustomerJsonComponent {
     public static class Serializer extends JsonSerializer<Customer> {
         // ...
     }
     public static class Deserializer extends JsonDeserializer<Customer> {
         // ...
     }
 }
 JsonComponentModule@AliasFor(annotation=org.springframework.stereotype.Component.class) public abstract String value
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.