r/liveitapp • • 14d ago

Data storage format

Hi , just curious does liveit use plain json to store the data ? same way it exports the backup ?

The backup json is really messy and i don't think its the best way to store the data when the size of app keeps increasing? Is it going to change in V11?

4 Upvotes

4 comments sorted by

1

u/thuongthoi056 dev 13d ago

The app itself stores your data in a real database on the device (ObjectBox on mobile and desktop, SQLite on web), so JSON is only used for the backup. You're right that the old backup was one big JSON file though, and in v11 it's split into smaller chunk files and written in a streaming way, so it handles large accounts much better.

1

u/EmperorDante 13d ago edited 13d ago

Awesome 🙌, does sync also use json or it uses objectbox file? Also is objectbox good choice for security and longevity?

1

u/thuongthoi056 dev 12d ago

objectbox is for use on the client only. Server use JSON-like docs for sync, with encryption if you enable it.

1

u/Yosadhara 13d ago

FYI: There also is an out-of-the-box ObjectBox Data Sync - it is highly optimized and battle-tested