Commit e6a0760
committed
Configure custom Kotlin Serialization converter
Prior to this commit, `HttpMessageConverters` would consider the Kotlin
Serialization JSON converter as an alternative to the Jackson variant.
As seen in related issues, this converter is more commonly used for
annotated classes specifically and applications often rely on Jackson
acting as a fallback for types not supported by Kotlin Serialization.
This commit enables applications to configure such a converter on
`HttpMessageConverters` and order it ahead of of the JSON one.
Closes gh-357331 parent 1fc446b commit e6a0760
File tree
6 files changed
+184
-176
lines changed- spring-web/src
- main/java/org/springframework/http/converter
- test/java/org/springframework
- http/converter
- json
- web/client
6 files changed
+184
-176
lines changed
0 commit comments