writeValue

fun writeValue(file: File, collection: Collection)
fun writeValue(file: File, configure: CollectionBuilder.() -> Unit)
fun writeValue(outputStream: OutputStream, collection: Collection)
fun writeValue(outputStream: OutputStream, configure: CollectionBuilder.() -> Unit)
fun writeValue(writer: Writer, collection: Collection)
fun writeValue(writer: Writer, configure: CollectionBuilder.() -> Unit)