interface IMarshaller<T : Any> : ISerializer<T>
A serializer that can participate in polymorphic serialization.
abstract val _type: KClass<*> |
|
open val id: RdId |
abstract fun read(ctx: SerializationCtx, buffer: AbstractBuffer): T |
|
abstract fun write(ctx: SerializationCtx, buffer: AbstractBuffer, value: T): Unit |
fun <T> ISerializer<T>.array(): ISerializer<Array<T>> |
|
fun <T> T.deepClonePolymorphic(): T |
|
fun <T : Any> ISerializer<T>.interned(internKey: String): ISerializer<T> |
|
fun <T> ISerializer<T>.list(): ISerializer<List<T>> |
|
fun <T : Any> ISerializer<T>.nullable(): ISerializer<T?> |
class ReflectionMarshaller<T : Any> : IMarshaller<T> |
|
open class UniversalMarshaller<T : Any> : IMarshaller<T> |