Class ObjectMapperFactory


  • public class ObjectMapperFactory
    extends java.lang.Object
    Class can be used to create new object mappers for JSON serialization.
    Author:
    JEAF Development Team
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
      Method creates a new ObjectMapper based on the default configuration mechanism ObjectMapperConfig.
      static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper​(ObjectMapperConfiguration pConfiguration)
      Method creates a new ObjectMapper based on the passed configuration.
      • Methods inherited from class java.lang.Object

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

      • createObjectMapper

        public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
        Method creates a new ObjectMapper based on the default configuration mechanism ObjectMapperConfig.
        Returns:
        ObjectMapper Created object mapper. The method never returns null.
      • createObjectMapper

        public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper​(ObjectMapperConfiguration pConfiguration)
        Method creates a new ObjectMapper based on the passed configuration.
        Parameters:
        pConfiguration - Configuration for the ObjectMapper. The parameter must not be null.
        Returns:
        ObjectMapper Created object mapper. The method never returns null.