I first get a JSON array using this JavaScript code:
$.getJSON("myJSONfile.json")
.done(function(data) {
myData = data;
});
myData is a global variable.
I then add information to myData. How do then update the myJSONfile.json to contain the new data.
Sorry if that was confusing. Josh