FieldIterator

Iterator over struct fields

Functions

Link copied to clipboard
abstract fun findNextFieldIndex(): Int?

Returns the index of the next field found, null if fields exhausted, or UNKNOWN_FIELD.

Link copied to clipboard
abstract fun skipValue()

Skip the next field value recursively. Meant for discarding unknown fields

Inherited functions

Link copied to clipboard

Deserialize and return the next token as a BigDecimal

Link copied to clipboard

Deserialize and return the next token as a BigInteger

Link copied to clipboard
abstract fun deserializeBoolean(): Boolean

Deserialize and return the next token as a Boolean

Link copied to clipboard
abstract fun deserializeByte(): Byte

Deserialize and return the next token as a Byte

Link copied to clipboard

Deserialize and return the next token as a ByteArray.

Link copied to clipboard

Deserialize and return the next token as a Document.

Link copied to clipboard
abstract fun deserializeDouble(): Double

Deserialize and return the next token as a Double

Link copied to clipboard
abstract fun deserializeFloat(): Float

Deserialize and return the next token as a Float

Link copied to clipboard

Deserialize and return the next token as an Instant.

Link copied to clipboard
abstract fun deserializeInt(): Int

Deserialize and return the next token as an Int

Link copied to clipboard
abstract fun deserializeLong(): Long

Deserialize and return the next token as a Long

Link copied to clipboard
abstract fun deserializeNull(): Nothing?

Consume the next token if represents a null value. Always returns null.

Link copied to clipboard
abstract fun deserializeShort(): Short

Deserialize and return the next token as a Short

Link copied to clipboard
abstract fun deserializeString(): String

Deserialize and return the next token as a String