spring-framework / org.springframework.http.converter.json / Jackson2ObjectMapperFactoryBean / setApplicationContext

setApplicationContext

open fun setApplicationContext(applicationContext: ApplicationContext): Unit

Set the builder ApplicationContext in order to autowire Jackson handlers (JsonSerializer, JsonDeserializer, KeyDeserializer, TypeResolverBuilder and TypeIdResolver).

Since
4.1.3

See Also
Jackson2ObjectMapperBuilder#applicationContext(ApplicationContext)SpringHandlerInstantiator