Package-level declarations

Types

Link copied to clipboard
expect class DateTimeSerializer

Serializer to read zoned date times as local date time and writing it back

actual class DateTimeSerializer(zoneId: ZoneId = ZoneId.systemDefault()) : KSerializer<DateTime>
Link copied to clipboard
expect class UUIDSerializer

A UUID serializer that supports the GUIDs without dashes from the Jellyfin API.

actual class UUIDSerializer : KSerializer<UUID>

Functions

Link copied to clipboard
expect fun String.toUUID(): UUID

Convert string to UUID. Accepts simple and hyphenated notations.

actual fun String.toUUID(): UUID
Link copied to clipboard
expect fun String.toUUIDOrNull(): UUID?

Convert string to UUID or null if the string is not an UUID. Accepts simple and hyphenated notations.

actual fun String.toUUIDOrNull(): UUID?