3 ms·
Open the file, parse its content, deal with any errors. SQLite is simpler.
by kevin_thibedeau 8y ago
Open the file, parse its content, deal with any errors. SQLite is simpler.
- int_19h 8y agoOpening the file and parsing JSON in it is two lines of code in Python. Errors can happen in both cases - you can have a corrupt SQLite DB, just as you can have invalid JSON. The way you handle them is pretty much identical.