stringValue

fun JsonElement.stringValue(vararg keys: String): String

Navigates to the nested element at keys and returns its string value. Extension function on JsonElement.


val JsonElement.stringValue: String

Returns the string content of this JsonElement as a JsonPrimitive. Extension property on JsonElement.