containsKey

fun containsKey(k: String): Boolean

Does the JSONObject include a binding for the specified key?

Return

true if the JSONObject includes a binding for the key, false otherwise.

Parameters

k

The key.