Saving Data to a JSON File
We'll cover the following...
JSON looks remarkably like a data structure you might define manually in JavaScript. This is no accident; you can actually use the JavaScript eval()
function to “decode” json-serialized data. (The usual caveats about untrusted input apply, but the point is that JSON ...