Package com.anaptecs.jeaf.json.impl
Class ObjectMapperFactory
- java.lang.Object
-
- com.anaptecs.jeaf.json.impl.ObjectMapperFactory
-
public class ObjectMapperFactory extends java.lang.ObjectClass 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.ObjectMappercreateObjectMapper()Method creates a newObjectMapperbased on the default configuration mechanismObjectMapperConfig.static com.fasterxml.jackson.databind.ObjectMappercreateObjectMapper(ObjectMapperConfiguration pConfiguration)Method creates a newObjectMapperbased on the passed configuration.
-
-
-
Method Detail
-
createObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper()
Method creates a newObjectMapperbased on the default configuration mechanismObjectMapperConfig.- Returns:
ObjectMapperCreated object mapper. The method never returns null.
-
createObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(ObjectMapperConfiguration pConfiguration)
Method creates a newObjectMapperbased on the passed configuration.- Parameters:
pConfiguration- Configuration for theObjectMapper. The parameter must not be null.- Returns:
ObjectMapperCreated object mapper. The method never returns null.
-
-