Reconfigures this JsonEncoder to use the output stream provided.
If the OutputStream provided is null, a NullPointerException is thrown.
Otherwise, this JsonEncoder will flush its current output and then reconfigure its output to use a default UTF8 JsonGenerator that writes to the provided OutputStream.
@param out The OutputStream to direct output to. Cannot be null.
@throws IOException
@return this JsonEncoder