treatsAsNullableByte

fun JsonElement?.treatsAsNullableByte(defValue: Byte? = null): Byte?

Method used to treats a JsonElement value as nullable Byte

Return

the JsonElement as nullable Byte

Parameters

defValue

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