treatsAsNullableUByte

fun JsonElement?.treatsAsNullableUByte(defValue: UByte? = null): UByte?

Method used to treats a JsonElement value as nullable UByte

Return

the JsonElement as nullable UByte

Parameters

defValue

The default value to return if the JsonElement is null or is not a UByte value