jsonObjectValue

fun JsonElement.jsonObjectValue(vararg keys: String): JsonObject

Navigates to the nested element at keys and returns it as a JsonObject. Extension function on JsonElement.


val JsonElement.jsonObjectValue: JsonObject

Returns this JsonElement as a JsonObject. Extension property on JsonElement.