nextString

abstract fun nextString(): String

Returns the string value of the next token, consuming it. If the nexttoken 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.