convert
open override fun convert(source: PgMultirange, expectedType: KType, sourceType: PgType, context: DeserializationContext): MultiRange<*>
Converts a value this converter has claimed.
Nested values should go through DeserializationContext.convert rather than being converted by hand, so that a failure deeper in the structure arrives with the path to it.
Return
The converted value, which must be an instance of expectedType.
Parameters
source
The decoded value.
expectedType
The Kotlin type the caller asked for.
sourceType
The PostgreSQL type of the column.
context
Access to the type manager and to nested conversion.