/code></a>:
 <pre><code>
 JsonReader jsonReader = Json.createReader(...);
 JsonArray array = jsonReader.readArray();
 jsonReader.close();
 </code></pre>

 <p>The following example demonstrates how to build an empty JSON array
 using the class <a href="JsonArrayBuilder.html" title="interface in jakarta.json"><code>JsonArrayBuilder</code></a>:
 <pre><code>
 JsonArray array = Json.createArrayBuilder().build();
 </code></pre>

 <p>The example code below demonstrates how to create the following JSON array:
 <pre