0.21.0
What's changed
-
New: it is now possible to configure the style for emitted lists and sequences by setting
YamlConfiguration.sequenceStyle
(#40 - thanks to @knightzmc for the suggestion and PR)For example, for the list
1, 2, 3
, block style (which was the previous behaviour and is still the default) would emit the list as:- 1 - 2 - 3
And in flow style, it would be emitted as:
[1, 2, 3]
Upgrading
If you're using Gradle, reference kaml in your dependencies
block like this:
implementation("com.charleskorn.kaml:kaml:0.21.0")
For other tools, refer to the Maven Central release page for more information.