intValue

fun JsonElement.intValue(vararg keys: String): Int

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


val JsonElement.intValue: Int

Returns the integer value of this JsonElement's primitive content. Extension property on JsonElement.