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

setMixIns

open fun setMixIns(mixIns: MutableMap<Class<*>, Class<*>>): Unit

Add mix-in annotations to use for augmenting specified class or interface.

Parameters

mixIns - Map of entries with target classes (or interface) whose annotations to effectively override as key and mix-in classes (or interface) whose annotations are to be "added" to target's annotations as value.

Since
4.1.2

See Also
com.fasterxml.jackson.databind.ObjectMapper#addMixInAnnotations(Class, Class)