rrayBuilder</a>,<a href="../../../jakarta/json/JsonArray.html" title="interface in jakarta.json">JsonArray</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">JsonCollectors.</span><code><span class="memberNameLink"><a href="../../../jakarta/json/stream/JsonCollectors.html#toJsonArray--">toJsonArray</a></span>()</code>
<div class="block">Constructs a <code>java.util.stream.Collector</code> that accumulates the input <code>JsonValue</code>
 elements into a <code>JsonArray</code>.</div>
</td>
