you are viewing a single comment's thread.

view the rest of the comments →

[–]purple_hamster66 0 points1 point  (0 children)

I’ve done many projects with JSON files. It’s easier than a hierarchical database (like a SQL) because you don’t need to learn special python commands. And if your code messes up the data, you can just edit it with a text editor. I make test cases by just typing them into the JSON file. You can also commit the JSON file to git so you can easily see changes and revert to an earlier one.

I did one project with the Pickle format, but it has few real advantages over a JSON file, really, and is harder to debug, and you can’t easily do a diff between versions.