isObject

val JsonElement.isObject: Boolean

Returns true if this JsonElement is a JsonObject. Extension property on JsonElement.