getBoolean

fun getBoolean(k: String): Boolean

Get a Boolean associated with requested key.

Return

The Boolean 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 JSONValue.