Package com.appmattus.layercache

Functions

jsonSerializer
Link copied to clipboard
inline fun <Key : Any, Value : Any> Cache<Key, String>.jsonSerializer(): Cache<Key, Value>
fun <Key : Any, Value : Any> Cache<Key, String>.jsonSerializer(serializer: KSerializer<Value>): Cache<Key, Value>

Two-way transform to serialise and deserialise data class objects to String