getArrayOrNull

fun getArrayOrNull(k: String): JSONArray?

Get a JSONArray associated with requested key, or null if no such key exists.

Return

The JSONArray associated with requested key, or null if no such key exists.

Parameters

k

The key.

Throws

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