cacheSelfieJson

inline suspend fun <T> cacheSelfieJson(noinline toCache: suspend () -> T): CacheSelfieSuspend<T>

Memoizes any type which is marked with @kotlinx.serialization.Serializable as pretty-printed json.