Using a JSON file to store a small database persistently, in javascript
问题 I am new to the use of JSON. I want my webpage to display, in a table, a small database of a few hundred records. Wanting to avoid the hassle of putting my data in a MySQL database or something similar, I figured I would read my data from a JSON file, and write it out to a JSON file, and that this would amount to convenient, persistent storage of my database at my website. So I spent a bit of time writing a script that translated my existing papers file into a papers.json file that contains