open fun asArray(): JsonArray
Returns this JSON value as JsonArray, assuming that this value represents a JSON array. If this is not the case, an exception is thrown.
UnsupportedOperationException
- if this value is not a JSON array
Return
a JSONArray for this value