Skip to content

tomlkt 0.3.3

Choose a tag to compare

@eav-eav-eav eav-eav-eav released this 29 Sep 13:12
68df7fd

New

  • Add TomlReader for sequential parsing.
    • Add TomlStringReader, TomlNativeReader (JVM) as implementation.
    • Add Toml.parseToTomlTable(TomlReader), Toml.decodeFromReader, Toml.decodeFromNativeReader (JVM) for convenience.
  • Add TomlNativeWriter (JVM) and Toml.encodeToNativeWriter (JVM) for better JVM integration.
  • Add TomlContentPolymorphicSerializer for polymorphic serialization without class discriminator.
  • Add TomlConfig.explicitNulls so that during encoding any entry with null value is ignored and during decoding any nullable property without default value is set to null automatically.
  • Add TomlEncoder.toml, TomlDecoder.toml for referring to the Toml instance.
  • Add contracts in various type checks.

Change

  • Fix a bug in TomlLiteral to Double conversion.