layercache-serializer
/
com.appmattus.layercache
/
jsonSerializer
json
Serializer
fun <
Key
:
Any
,
Value
:
Any
>
Cache
<
Key
,
String
>.
jsonSerializer
(serializer:
KSerializer
<
Value
>):
Cache
<
Key
,
Value
>
Content 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