<!-- !!! For Security Vulnerabilities, please go to https://spring.io/security-policy !!! --> **Affects:** 6.x.x Similarly the following issue https://github.com/spring-projects/spring-framework/issues/28398, it would be great to have the same support when using kotlin serialization as implemented for [Jackson](https://github.com/spring-projects/spring-framework/commit/ce568468aed09147e335b5d5a717e1b2dac581a8). --- <!-- Thanks for taking the time to create an issue. Please read the following: - Questions should be asked on Stack Overflow. - For bugs, specify affected versions and explain what you are trying to do. - For enhancements, provide context and describe the problem. Issue or Pull Request? Create only one, not both. GitHub treats them as the same. If unsure, start with an issue, and if you submit a pull request later, the issue will be closed as superseded. -->