<a href="JsonArray.html" title="interface in jakarta.json">JsonArray</a>&nbsp;asJsonArray()</pre>
<div class="block">Return the JsonValue as a JsonArray</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the JsonValue as a JsonArray</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang" class="externalLink">ClassCastExcepti