- The object content tree to be serialized.</dd>
<dd><code>stream</code> - The JSON will be sent as a byte stream to the given
      <a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a>. Upon a successful completion, the stream will be closed
      by this method.</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../jakarta/json/bind/JsonbException.html" title="class in