tornadofx / tornadofx / save

save

fun JsonModel.save(output: OutputStream): <ERROR CLASS>

Save this JsonModel to the given output stream and close it.

fun JsonModel.save(output: Path, vararg options: OpenOption = arrayOf(CREATE, TRUNCATE_EXISTING)): <ERROR CLASS>

Save this JsonModel to the given output path.