Interface JsonLinesWriter
- All Superinterfaces:
AutoCloseable
-
Method Summary
-
Method Details
-
write
Writes a single object as a JSON line.- Parameters:
object- the object to serialize and write- Throws:
IOException- if an I/O error occurs
-
write
Writes multiple objects as JSON lines.- Parameters:
objects- the objects to serialize and write- Throws:
IOException- if an I/O error occurs
-
flush
Flushes any buffered data to the underlying output.- Throws:
IOException- if an I/O error occurs
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-