SdkFieldDescriptor

open class SdkFieldDescriptor(val kind: SerialKind, var index: Int = 0, val traits: Set<FieldTrait> = emptySet())

Metadata to describe how a given member property maps to serialization.

Inheritors

Constructors

Link copied to clipboard
constructor(kind: SerialKind, vararg trait: FieldTrait)
constructor(kind: SerialKind, traits: Set<FieldTrait>)
constructor(kind: SerialKind, index: Int = 0, traits: Set<FieldTrait> = emptySet())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var index: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard

Returns the singleton instance of required Trait, or IllegalArgumentException if does not exist.

Link copied to clipboard
Link copied to clipboard

Find a set of traits of the given type.

Link copied to clipboard