document

abstract fun <T> document(key: String, serializer: KSerializer<T>, config: DocumentConfig.() -> Unit = {}): Document<T>(source)

Opens the Document at key, using serializer for its value type and configured through config.

Throws

when key contains the reserved key separator.