toWriter

open fun toWriter(out: Writer)

Write the JSON to the provided Writer. The writer will be flushed but not closed.

Parameters

out

the Writer to receive the JSON

See also

Throws

on IO error