Package es.kukenan.smartfi.common.config
Class ObjectMapperFactory
java.lang.Object
es.kukenan.smartfi.common.config.ObjectMapperFactory
ObjectMapper factory, a way to centralize ObjectMapper creation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMappercreate()Create a new configured ObjectMapper.
-
Constructor Details
-
ObjectMapperFactory
private ObjectMapperFactory()Hide class constructor.
-
-
Method Details
-
create
public static com.fasterxml.jackson.databind.ObjectMapper create()Create a new configured ObjectMapper. Currently, it includes some improvements on Date and Time handling.- Returns:
- a new configured ObjectMapper.
-