close

open override fun close()

Flushes and closes this writer and the underlying okio.Sink.

Throws

IOException

if the JSON document is incomplete.