int

val JsonPrimitive.int: Int

Returns content of the current element as int

Throws

if current element is not a valid representation of number