Class KotlinSerializationJsonDecoder
java.lang.Object
org.springframework.http.codec.KotlinSerializationSupport<kotlinx.serialization.json.Json>
org.springframework.http.codec.KotlinSerializationStringDecoder<kotlinx.serialization.json.Json>
org.springframework.http.codec.json.KotlinSerializationJsonDecoder
public class KotlinSerializationJsonDecoder
extends KotlinSerializationStringDecoder<kotlinx.serialization.json.Json>
Decode a byte stream into JSON and convert to Object's with
kotlinx.serialization.
It supports 
application/json and application/*+json with
various character sets, UTF-8 being the default.
As of Spring Framework 7.0, open polymorphism is supported.
Decoding streams is not supported yet, see kotlinx.serialization/issues/1073 related issue.
- Since:
 - 5.3
 - Author:
 - Sebastien Deleuze, Iain Henderson
 
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class KotlinSerializationStringDecoder
canDecode, decode, decodeToMono, getDecodableMimeTypes, getDecodableMimeTypes, getMaxInMemorySize, setMaxInMemorySizeMethods inherited from class KotlinSerializationSupport
canSerialize, format, serializer, supportedMimeTypes 
- 
Constructor Details
- 
KotlinSerializationJsonDecoder
public KotlinSerializationJsonDecoder() - 
KotlinSerializationJsonDecoder
public KotlinSerializationJsonDecoder(kotlinx.serialization.json.Json json)  
 -