kaml v0.23.0 Release Notes
Release Date: 2020-09-18 // over 3 years ago-
What's changed
๐ New : it is now possible to customise the property name used when encoding and decoding polymorphic types, similar to the
classDiscriminator
option for kotlinx-serialization's built-in JSON format (#47 - thanks to @ChanTsune for the PR)๐ง Set
YamlConfiguration.polymorphismPropertyName
to configure this. The default value istype
to preserve the existing default behaviour.โฌ๏ธ Upgrading
If you're using Gradle, reference kaml in your
dependencies
block like this:implementation("com.charleskorn.kaml:kaml:0.23.0")
๐ For other tools, refer to the Maven Central release page for more information.