DEV Community

Eric Donovan
Eric Donovan

Posted on

Kotlin library to store data classes persistently

I made a tiny library, it lets you store single instances of kotlin data classes persistently with not much effort / boilerplate https://github.com/erdo/persista

I'm using it to recover state after process death (my app's state is held in immutable data classes). There is a sample app bundled with the repo so you can play around with it.

Issues / PRs are open :D

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay