mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
This commit adds a new withKotlinSerializationCborConverter method to HttpMessageConverters and updates DefaultHttpMessageConverters to put JSON and CBOR Kotlin Serialization converters before their Jackson/GSON/JSONB counterparts with their new default behavior that only handles classes with `@Serializable` at type or generics level. When there is no alternative converter for the same mime type, Kotlin Serialization converters handle all supported cases. Closes gh-35761