writeToFile

fun writeToFile(path: Path)(source)

Writes this layout to path (typically a .lay.json file), UTF-8, pretty-printed.