Class DefaultObjectMapperConfiguration

  • All Implemented Interfaces:
    ObjectMapperConfiguration

    public class DefaultObjectMapperConfiguration
    extends java.lang.Object
    implements ObjectMapperConfiguration
    Creates ObjectMapper with configuration:
    • FAIL_ON_EMPTY_BEANS: false
    • FAIL_ON_UNKNOWN_PROPERTIES: false
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String JSON_CLASS_PROPERTY  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.ObjectMapper configureObjectMapper​(java.lang.Class<?> objectType, com.fasterxml.jackson.databind.ObjectMapper mapper)  
      • Methods inherited from class java.lang.Object

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

      • JSON_CLASS_PROPERTY

        public static final java.lang.String JSON_CLASS_PROPERTY
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultObjectMapperConfiguration

        public DefaultObjectMapperConfiguration()
    • Method Detail

      • configureObjectMapper

        public com.fasterxml.jackson.databind.ObjectMapper configureObjectMapper​(java.lang.Class<?> objectType,
                                                                                 com.fasterxml.jackson.databind.ObjectMapper mapper)
        Specified by:
        configureObjectMapper in interface ObjectMapperConfiguration
        Parameters:
        objectType - type of object that is going to be mapped
        mapper - mapper to be configured
        Returns:
        fully configured mapper to be used for mapping