forEach

fun JSONArray.forEach(block: (value: Any) -> Unit)

Utility function to allow forEach iteration on a JSONArray