ject 
 as JSON data:
 <pre><code>
 JsonArray arr = ...;
 JsonWriter writer = Json.createWriter(...)
 writer.writeArray(arr);
 writer.close();
 </code></pre>

 <p>The values in a <code>JsonArray</code> can be of the following types:
 <a href="JsonObject.html" title="interface in jakarta.json"><code>JsonObject</code></a>, <a href="JsonArray.html" title="interface in jakarta.json"><code>JsonArray</code></a>,
 <a href="JsonString.html" title="interface in jakarta.json"><code>JsonString</code></a>, <a href="Json