if (_temp.dataView) { const _json = JSON.parse(_temp.dataView); const _tempArr = []; Object.keys(_json).forEach((key, index) => { _tempArr.push({ value: _json[key], name: key, }); }); _this.deviceDataView = [..._tempArr]; }