getArray

fun getArray(k: String): JSONArray

Get a JSONArray associated with requested key.

Return

The JSONArray associated with requested key.

Parameters

k

The key.

Throws

If the requested key is not present.

If the value associated with the requested key is not a JSONArray.