nextBoolean

abstract fun nextBoolean(): Boolean

Returns the boolean value of the next token, consuming it.

Throws

if the next token is not a boolean or if this reader is closed.