getBooleanOrNull

fun getBooleanOrNull(k: String): Boolean?

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

Return

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