nextNull

abstract fun nextNull(): Nothing?

Consumes the next token from the JSON stream and asserts that it is a literal null. Returns null.

Throws

if the next token is not null or if this reader is closed.