decodeBooleanElement

override fun decodeBooleanElement(descriptor: SerialDescriptor, index: Int): Boolean(source)

Decodes a boolean value from the underlying input. The resulting value is associated with the descriptor element at the given index. The element at the given index should have PrimitiveKind.BOOLEAN kind.