var data = [ { "partNumber": {}, "addRowId10": "2", "addRowId11": "3" } ] data.map(o=>{ for(let id in o){ if(id.indexOf('addRowId')!=-1){ var num = JSON.parse(id.slice(8)); if(num>rowIndex){ o['addRowId'+(num-1)] = o[id]; this.$delete(o,id); } } } })