Class KotlinSerializationJsonHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.AbstractGenericHttpMessageConverter<Object>
org.springframework.http.converter.AbstractKotlinSerializationHttpMessageConverter<T>
org.springframework.http.converter.KotlinSerializationStringHttpMessageConverter<kotlinx.serialization.json.Json>
org.springframework.http.converter.json.KotlinSerializationJsonHttpMessageConverter
- All Implemented Interfaces:
- GenericHttpMessageConverter<Object>,- HttpMessageConverter<Object>
public class KotlinSerializationJsonHttpMessageConverter
extends KotlinSerializationStringHttpMessageConverter<kotlinx.serialization.json.Json>
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.
- Since:
- 5.3
- Author:
- Andreas Ahlenstorf, Sebastien Deleuze, Juergen Hoeller, Iain Henderson
- 
Field SummaryFields inherited from class org.springframework.http.converter.AbstractHttpMessageConverterlogger
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a newKotlinSerializationJsonHttpMessageConverterwith the default configuration.KotlinSerializationJsonHttpMessageConverter(kotlinx.serialization.json.Json json) Construct a newKotlinSerializationJsonHttpMessageConverterwith a custom configuration.
- 
Method SummaryMethods inherited from class org.springframework.http.converter.KotlinSerializationStringHttpMessageConverterreadInternal, writeInternalMethods inherited from class org.springframework.http.converter.AbstractKotlinSerializationHttpMessageConvertercanRead, canWrite, read, readInternal, supports, writeInternalMethods inherited from class org.springframework.http.converter.AbstractGenericHttpMessageConverterwrite, writeInternalMethods inherited from class org.springframework.http.converter.AbstractHttpMessageConverteraddDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.converter.HttpMessageConvertercanRead, canWrite, getSupportedMediaTypes, getSupportedMediaTypes, read, write
- 
Constructor Details- 
KotlinSerializationJsonHttpMessageConverterpublic KotlinSerializationJsonHttpMessageConverter()Construct a newKotlinSerializationJsonHttpMessageConverterwith the default configuration.
- 
KotlinSerializationJsonHttpMessageConverterpublic KotlinSerializationJsonHttpMessageConverter(kotlinx.serialization.json.Json json) Construct a newKotlinSerializationJsonHttpMessageConverterwith a custom configuration.
 
-