I have a json file, employees.json, that I would like to append data to this object. The file looks like this:
var txt = \'{\"employees\":[\' + \'{\"firstNam
JSON stands for Javascript object notation so this could simply be a javascript object
var obj = {employees:[ { firstname:"jerry" ... and so on ... } ]};
When you want to add an object you can simply do:
object.employees.push({ firstname: "Mike", lastName: "rut" ... and so on .... });