Class KotlinSerializationJsonHttpMessageConverter

All Implemented Interfaces:
GenericHttpMessageConverter<Object>, HttpMessageConverter<Object>

public class KotlinSerializationJsonHttpMessageConverter extends AbstractGenericHttpMessageConverter<Object>
Implementation of HttpMessageConverter that can read and write JSON using kotlinx.serialization.

This converter can be used to bind @Serializable Kotlin classes, open polymorphic serialization is not supported. It supports application/json and application/*+json with various character sets, UTF-8 being the default.

Andreas Ahlenstorf, Sebastien Deleuze, Juergen Hoeller