2 ms·
Opening 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 hav
by int_19h 8y ago
Opening 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.