My application has a large array of objects, which I stringify and save them to the disk. Unfortunately, when the objects in the array are manipulated, and sometimes replac
Try:
function obj(){ this.name = ''; this.os = ''; } a = new obj(); a.name = 'X', a.os = 'linux'; JSON.stringify(a); b = new obj(); b.os = 'linux'; b.name = 'X', JSON.stringify(b);