Class JacksonModule.SerializerResolverByClass

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.ser.Serializers
    Enclosing interface:
    JacksonModule

    public static class JacksonModule.SerializerResolverByClass
    extends com.fasterxml.jackson.databind.ser.Serializers.Base
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.ser.Serializers

        com.fasterxml.jackson.databind.ser.Serializers.Base
    • Constructor Summary

      Constructors 
      Constructor Description
      SerializerResolverByClass​(java.lang.Class<?> clazz, scala.Function0<com.fasterxml.jackson.databind.JsonSerializer<?>> deserializer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.JsonSerializer<?> findSerializer​(com.fasterxml.jackson.databind.SerializationConfig config, com.fasterxml.jackson.databind.JavaType javaType, com.fasterxml.jackson.databind.BeanDescription beanDesc)  
      • Methods inherited from class com.fasterxml.jackson.databind.ser.Serializers.Base

        findArraySerializer, findCollectionLikeSerializer, findCollectionSerializer, findMapLikeSerializer, findMapSerializer, findReferenceSerializer
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SerializerResolverByClass

        public SerializerResolverByClass​(java.lang.Class<?> clazz,
                                         scala.Function0<com.fasterxml.jackson.databind.JsonSerializer<?>> deserializer)
    • Method Detail

      • findSerializer

        public com.fasterxml.jackson.databind.JsonSerializer<?> findSerializer​(com.fasterxml.jackson.databind.SerializationConfig config,
                                                                               com.fasterxml.jackson.databind.JavaType javaType,
                                                                               com.fasterxml.jackson.databind.BeanDescription beanDesc)
        Specified by:
        findSerializer in interface com.fasterxml.jackson.databind.ser.Serializers
        Overrides:
        findSerializer in class com.fasterxml.jackson.databind.ser.Serializers.Base