Merge two json/javascript arrays in to one array

You want the concat method.

var finalObj = json1.concat(json2);

Leave a Comment