Class JacksonObjectMapperFactory
- java.lang.Object
-
- org.apereo.cas.util.serialization.JacksonObjectMapperFactory
-
public class JacksonObjectMapperFactory extends java.lang.ObjectThis isJacksonObjectMapperFactory.- Since:
- 6.4.0
-
-
Constructor Summary
Constructors Constructor Description JacksonObjectMapperFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidconfigure(org.springframework.context.ConfigurableApplicationContext applicationContext, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Configure an existing mapper.protected com.fasterxml.jackson.databind.ObjectMapperinitialize(com.fasterxml.jackson.databind.cfg.MapperBuilder<?,?> mapper)Initialize.com.fasterxml.jackson.databind.ObjectMappertoObjectMapper()Produce an object mapper for YAML serialization/de-serialization.
-
-
-
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 contextobjectMapper- 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
-
-