toOutputStream
Write the JSON to the provided OutputStream using UTF8 encoding. The output stream will not be closed.
Parameters
out
the OutputStream to receive the JSON
See also
Throws
on IO error
Write the JSON to the provided OutputStream using the given Charset. The output stream will not be closed.
Parameters
out
the OutputStream to receive the JSON
charset
the charset to use
Throws
on IO error