boolean

val JsonPrimitive.boolean: Boolean

Returns content of current element as boolean

Throws

if current element doesn't represent boolean