Class JacksonObjectMapperFactory

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void configure​(org.springframework.context.ConfigurableApplicationContext applicationContext, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Configure an existing mapper.
      protected com.fasterxml.jackson.databind.ObjectMapper initialize​(com.fasterxml.jackson.databind.cfg.MapperBuilder<?,​?> mapper)
      Initialize.
      com.fasterxml.jackson.databind.ObjectMapper toObjectMapper()
      Produce an object mapper for YAML serialization/de-serialization.
      • Methods inherited from class java.lang.Object

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

      • JacksonObjectMapperFactory

        public JacksonObjectMapperFactory()
    • Method Detail

      • configure

        public static void configure​(org.springframework.context.ConfigurableApplicationContext applicationContext,
                                     com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Configure an existing mapper.
        Parameters:
        applicationContext - the application context
        objectMapper - the mapper
      • toObjectMapper

        public com.fasterxml.jackson.databind.ObjectMapper toObjectMapper()
        Produce an object mapper for YAML serialization/de-serialization.
        Returns:
        the object mapper
      • initialize

        protected com.fasterxml.jackson.databind.ObjectMapper initialize​(com.fasterxml.jackson.databind.cfg.MapperBuilder<?,​?> mapper)
        Initialize.
        Parameters:
        mapper - the mapper
        Returns:
        the object mapper