layercache-serializer
/
com.appmattus.layercache
Package com.
appmattus.
layercache
Functions
Functions
jsonSerializer
Link copied to clipboard
inline fun <
Key
:
Any
,
Value
:
Any
>
Cache
<
Key
,
String
>.
jsonSerializer
():
Cache
<
Key
,
Value
>
Content copied to clipboard
Two-way transform to serialise and deserialise data class objects to String
fun <
Key
:
Any
,
Value
:
Any
>
Cache
<
Key
,
String
>.
jsonSerializer
(serializer:
KSerializer
<
Value
>):
Cache
<
Key
,
Value
>
Content copied to clipboard
Two-way transform to serialise and deserialise data class objects to String