TomlSource

class TomlSource(entries: Map<String, String>, origin: String? = null) : MapBackedSource(source)

TOML source parsed by ktoml, with full TOML 1.0 support. Tables become dotted keys ([database] url is database.url), arrays become [a, "b"] lists, and each entry of an array of tables is numbered (servers.0.name).

Constructors

Link copied to clipboard
constructor(entries: Map<String, String>, origin: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val fallbackKeyFormats: List<KeyFormat>
Link copied to clipboard
open override val keyFormat: KeyFormat
Link copied to clipboard
open override val name: String

Functions

Link copied to clipboard
open override fun children(key: String): Map<String, String>?
Link copied to clipboard
open override fun get(key: String): String?