float

val JsonPrimitive.float: Float

Returns content of current element as float

Throws

if current element is not a valid representation of number