I don't know how to append my new object into already exist .json file I run this program only in local
function writeJson(){
var tempObj = '{"name" : "kkk", "age":"123", "location" : "123123"}';
var jsonObj = JSON.parse(tempObj);
$.getJSON("data.json", function(data) {
console.log(data);
});
I will wait your answer