All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.caesarealabs.rpc4k.runtime.implementation.serializers.MutableSerializers.kt Maven / Gradle / Ivy

There is a newer version: 0.7.1
Show newest version
@file:Suppress("FunctionName", "UNCHECKED_CAST")

package com.caesarealabs.rpc4k.runtime.implementation.serializers

// The immutable serializers can handle the mutable objects just fine

//fun  MutableMapSerializer(keySerializer: KSerializer, valueSerializer: KSerializer): KSerializer> =
//    MapSerializer(keySerializer, valueSerializer) as KSerializer>
//
//fun  MutableListSerializer(elementSerializer: KSerializer): KSerializer> =
//    ListSerializer(elementSerializer) as KSerializer>
//
//fun  MutableSetSerializer(elementSerializer: KSerializer): KSerializer> =
//    SetSerializer(elementSerializer) as KSerializer>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy