nextString

open override fun nextString(): String

Returns the Token.STRING value of the next token, consuming it.

If the next token is a number, this method will return its string form.

Throws

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