getString

fun getString(k: String): String

Get a String associated with requested key.

Return

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