InstantWithInfinitySerializer

object InstantWithInfinitySerializer : KSerializer<Instant>

Serializer for Instant that supports PostgreSQL's infinity and -infinity values.

This serializer is specifically designed for use within dynamic_dto (JSONB) columns, ensuring that date-time values are correctly mapped to their PostgreSQL representations.

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): Instant
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: Instant)