write

open override fun <T : Any> write(output: OutputStream, config: T)

Serializes the given configuration object into YAML and writes it to the output stream.

Parameters

output

the output stream to write YAML content

config

the configuration object to serialize