MyGit

v1.6.3

Kotlin/kotlinx.serialization

版本发布时间: 2024-02-17 03:02:00

Kotlin/kotlinx.serialization最新发布版本:v1.7.2(2024-08-29 01:45:05)

This release provides a couple of new features and uses Kotlin 1.9.22 as default.

Class discriminator output mode

Class discriminator provides information for serializing and deserializing polymorphic class hierarchies. In case you want to encode more or less information for various third party APIs about types in the output, it is possible to control addition of the class discriminator with the JsonBuilder.classDiscriminatorMode property. For example, ClassDiscriminatorMode.NONE does not add class discriminator at all, in case the receiving party is not interested in Kotlin types. You can learn more about this feature in the documentation and corresponding PR.

Other features

Bugfixes and improvements

相关地址:原始地址 下载(tar) 下载(zip)

查看:2024-02-17发行的版本