nextName

abstract fun nextName(): String

Returns the next token, a property name, and consumes it.

Throws

if the next token in the stream is not a property name.