Hacker News new | ask | show | jobs
by zackelan 3154 days ago
I'd argue that the more large/complicated/nested the JSON structure, the more it would benefit from using a "real" database instead of a JSON file sitting on disk. If not SQLite due to document-relational mismatch, then LevelDB, RocksDB, or one of the other embedded key-value stores.

Of course, SQLite can also emulate a key-value store quite well, with a table with 'key' and 'value' columns.

1 comments

Also the JSON1 extension.

https://www.sqlite.org/json1.html