out,
 <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/nio/charset/Charset.html" title="class or interface in java.nio.charset" class="external-link">Charset</a>&nbsp;charset)</span></div>
<div class="block">Creates a JSON writer to write a JSON <a href="JsonObject.html" title="interface in jakarta.json"><code>object</code></a> or
 <a href="JsonArray.html" title="interface in jakarta.json"><code>array</code></a> structure to the specified byte stream.
 Characters written to the str