Interface TargetMessageJacksonModuleProvider


public interface TargetMessageJacksonModuleProvider
Provider for a Jackson module that can be registered with the target message's ObjectMapper.
  • Method Summary

    Modifier and Type
    Method
    Description
    For registration into SpEL's type converter to delegate to jackson for in-place type conversions.
    com.fasterxml.jackson.databind.Module
    Get the Jackson module to be registered with the target message's ObjectMapper.
    default Set<org.springframework.core.convert.TypeDescriptor>
    Get the set of types that can be serialized by the module specified by getModule().
  • Method Details

    • getModule

      com.fasterxml.jackson.databind.Module getModule()
      Get the Jackson module to be registered with the target message's ObjectMapper.
      Returns:
      The Jackson module to be registered
    • getSerializableClasses

      default Set<org.springframework.core.convert.TypeDescriptor> getSerializableClasses()
      Get the set of types that can be serialized by the module specified by getModule().
      Returns:
      Set of types which can be serialized by this module
    • getConvertibleTypes

      default Set<ConvertibleTypePair> getConvertibleTypes()
      For registration into SpEL's type converter to delegate to jackson for in-place type conversions. Or to be leveraged by the transform service to determine compatible types.
      Returns:
      Set of convertible type pairs that this module supports.