public class Config
Primary purpose is to install Kotlin extensions for Jackson ObjectMapper so data classes work and to organise serializers / deserializers for java.time.* classes as necessary.
Constructor and Description |
---|
Config(ServiceHub services)
Primary purpose is to install Kotlin extensions for Jackson ObjectMapper so data classes work
and to organise serializers / deserializers for java.time.* classes as necessary.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.ObjectMapper |
getContext(java.lang.Class<?> type) |
com.fasterxml.jackson.databind.ObjectMapper |
getDefaultObjectMapper() |
ServiceHub |
getServices() |
public Config(ServiceHub services)
Primary purpose is to install Kotlin extensions for Jackson ObjectMapper so data classes work and to organise serializers / deserializers for java.time.* classes as necessary.
public com.fasterxml.jackson.databind.ObjectMapper getDefaultObjectMapper()
public com.fasterxml.jackson.databind.ObjectMapper getContext(java.lang.Class<?> type)
public ServiceHub getServices()