Kinda just asking for a sanity check. I have a sm...
# squarelibraries
c
Kinda just asking for a sanity check. I have a small app that I'm mostly using for myself so code quality etc is sorta low on the totem pole compared to the functionality that I'm trying to have. But I just need to be able to persist this object that I have to disk so it survives process death.. Seems like just using moshi to serialize into a string that I write to a file should be enough right? Nothing kinda glaringly terrible about that approach?
👍🏾 1
👍 1
x
You can use KStore for this, although it is not using moshi
disclaimer - im the author ._.
c
Oooh. very interesting. Anything like AtomicFile supported in there?