close

open override fun close()

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

Throws

okio.IOException

if the JSON document is incomplete.