1var feed = {created_at: "2017-03-14T01:00:32Z", entry_id: 33358, field1: "4", field2: "4", field3: "0"};
2
3var data = [];
4data.push(feed);
5
6console.log(data);
1var jsonStr = '{"theTeam":[{"teamId":"1","status":"pending"},{"teamId":"2","status":"member"},{"teamId":"3","status":"member"}]}';
2
3var obj = JSON.parse(jsonStr);
4obj['theTeam'].push({"teamId":"4","status":"pending"});
5jsonStr = JSON.stringify(obj);
6// "{"theTeam":[{"teamId":"1","status":"pending"},{"teamId":"2","status":"member"},{"teamId":"3","status":"member"},{"teamId":"4","status":"pending"}]}"
7