getStringOrNull

fun getStringOrNull(k: String): String?

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

Return

The String 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.