document

abstract fun <T> document(key: String, serializer: KSerializer<T>): Document<T>(source)

Opens the Document at key, using serializer for its value type.

Throws

when key contains the reserved key separator.