treatsAsULong

fun JsonElement?.treatsAsULong(defValue: ULong): ULong

Method used to treats a JsonElement value as null-safe ULong

Return

the JsonElement as null-safe ULong

Parameters

defValue

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