mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Previously, Kotlin Serialization would be used too aggressively then an alternative JSON converter was available. This could lead to unwanted results when a response should have been serialized using Jackson, for example, rather than Kotlin Serialization. This commit addresses this by only allowing Kotlin Serialization to serialize types that are not annotated with @Serializable when no alternative JSON converter is available. Fixes gh-48070