EncodeDefaultMode
How a defaulted field is written, per its @EncodeDefault annotation. ALWAYS and NEVER mirror kotlinx.serialization.EncodeDefault.Mode; ABSENT records that the field was inspected and carries no @EncodeDefault, so the encoder's global encodeDefaults applies.
An Element whose mode is null was not inspected (the extractor could not resolve the owning class, or the snapshot predates #158) — it is unknown, never assumed ABSENT (#158).
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.