Package-level declarations

Types

Link copied to clipboard
object DateBasedDateTimeUnitSerializer : AbstractPolymorphicSerializer<DateTimeUnit.DateBased>

A polymorphic serializer for DateTimeUnit.DateBased unit that represents the unit as an Int number of months or days.

Link copied to clipboard

A serializer for DatePeriod that uses a different field for each component, only listing non-zero components.

Link copied to clipboard

A serializer for DatePeriod that represents it as an ISO 8601 duration string.

Link copied to clipboard

A serializer for DateTimePeriod that uses a different field for each component, only listing non-zero components.

Link copied to clipboard

A serializer for DateTimePeriod that represents it as an ISO 8601 duration string.

Link copied to clipboard
object DateTimeUnitSerializer : AbstractPolymorphicSerializer<DateTimeUnit>

A polymorphic serializer for DateTimeUnit that represents the unit as the Int number of months or days, or the Long number of nanoseconds.

Link copied to clipboard

A serializer for DateTimeUnit.DayBased unit that represents the unit as an Int number of days.

Link copied to clipboard
object DayOfWeekSerializer : KSerializer<DayOfWeek>

A serializer for DayOfWeek that represents the values as strings.

Link copied to clipboard

A serializer for FixedOffsetTimeZone that represents the time zone as its identifier.

Link copied to clipboard
abstract class FormattedInstantSerializer(name: String, format: DateTimeFormat<DateTimeComponents>) : KSerializer<Instant>

An abstract serializer for Instant values that uses a custom DateTimeFormat for serializing to and deserializing.

Link copied to clipboard
abstract class FormattedLocalDateSerializer(name: String, format: DateTimeFormat<LocalDate>) : KSerializer<LocalDate>

An abstract serializer for LocalDate values that uses a custom DateTimeFormat to serialize and deserialize the value.

Link copied to clipboard
abstract class FormattedLocalDateTimeSerializer(name: String, format: DateTimeFormat<LocalDateTime>) : KSerializer<LocalDateTime>

An abstract serializer for LocalDateTime values that uses a custom DateTimeFormat to serialize and deserialize the value.

Link copied to clipboard
abstract class FormattedLocalTimeSerializer(name: String, format: DateTimeFormat<LocalTime>) : KSerializer<LocalTime>

An abstract serializer for LocalTime values that uses a custom DateTimeFormat to serialize and deserialize the value.

Link copied to clipboard
abstract class FormattedUtcOffsetSerializer(name: String, format: DateTimeFormat<UtcOffset>) : KSerializer<UtcOffset>

An abstract serializer for UtcOffset values that uses a custom DateTimeFormat to serialize and deserialize the value.

Link copied to clipboard
abstract class FormattedYearMonthSerializer(name: String, format: DateTimeFormat<YearMonth>) : KSerializer<YearMonth>

An abstract serializer for YearMonth values that uses a custom DateTimeFormat to serialize and deserialize the value.

Link copied to clipboard

A serializer for LocalDate that represents a value as its components.

Link copied to clipboard
object LocalDateIso8601Serializer : KSerializer<LocalDate>

A serializer for LocalDate that uses the ISO 8601 representation.

Link copied to clipboard

A serializer for LocalDateTime that represents a value as its components.

Link copied to clipboard

A serializer for LocalDateTime that uses the ISO 8601 representation.

Link copied to clipboard

A serializer for LocalTime that represents a value as its components.

Link copied to clipboard
object LocalTimeIso8601Serializer : KSerializer<LocalTime>

A serializer for LocalTime that uses the ISO 8601 representation.

Link copied to clipboard

A serializer for DateTimeUnit.MonthBased unit that represents the unit as an Int number of months.

Link copied to clipboard
object MonthSerializer : KSerializer<Month>

A serializer for Month that represents the month value as a string.

Link copied to clipboard

A serializer for DateTimeUnit.TimeBased unit that represents the unit as a Long number of nanoseconds.

Link copied to clipboard
object TimeZoneSerializer : KSerializer<TimeZone>

A serializer for TimeZone that represents the time zone as its identifier.

Link copied to clipboard
object UtcOffsetIso8601Serializer : KSerializer<UtcOffset>

A serializer for UtcOffset that uses the extended ISO 8601 representation.

Link copied to clipboard

A serializer for YearMonth that represents a value as its components.

Link copied to clipboard
object YearMonthIso8601Serializer : KSerializer<YearMonth>

A serializer for YearMonth that uses the ISO 8601 representation.