Maybe a stupid question, but I can't do this. So:
I have something like this:
obj = {to:this.to,all:[]};
all:[{},{},{},...] but this is not important
If I do JSON.stringify(obj.all) it returns only this [] without all .
How to achive this { all: [] } ?
JSON.stringify({ all: obj.all })?