当前位置:网站首页>将对象转换为键值对
将对象转换为键值对
2022-07-27 07:25:00 【你的美,让我痴迷】
let list = Object.keys(item.configuration.message.inputval).map(key => {
return {
name: key, value: item.configuration.message.inputval[key] }
})
//打印构造的键值
console.log(list)
效果演示:
边栏推荐
- [wsl2] configure the USB camera connecting the USB device and using the host
- The first open source MySQL native HTAP database in China will be released soon! Look at the three highlights first, limited to the surrounding areas, waiting for you~
- Chapter 6 Shell Logic and Arithmetic
- flink去重(二)解决flink、flink-sql去重过程中的热点问题
- Okaleido tiger is about to log in to binance NFT in the second round, which has aroused heated discussion in the community
- 用户解锁SM04 SM12
- Applet payment management - new payment docking process
- Installation and use of apifox
- Showdoc vulnerability learning - cnvd-2020-26585 (arbitrary file upload)
- flink中维表Join几种常见方式总结
猜你喜欢

基于Arduino的温度、湿度测量显示装置

A small cotton padded jacket with air leakage

Perl: split the external command to be executed into multiple lines
![Error when connecting to MySQL: public key retrieval is not allowed [solution]](/img/b3/41523d44924ec203e40453bace6627.png)
Error when connecting to MySQL: public key retrieval is not allowed [solution]

OpenGL shader learning notes: varying variables

Installation and use of apifox

如何在电脑端登陆多个微信

ADC噪声全面分析 -02- ADC 噪声测量方法和相关参数
![Multithreading [preliminary - Part 1]](/img/e6/5808bbdb8368bc780bde4c151e7cd7.png)
Multithreading [preliminary - Part 1]

Zabbix: map collected values to readable statements
随机推荐
Okaleido生态核心权益OKA,尽在聚变Mining模式
Interview reply V
正则表达式基础整理
A small cotton padded jacket with air leakage
Leetcode54. 螺旋矩阵
C# 中的转译字符'/b'
Panabit SNMP configuration
Applet payment management - new payment docking process
【小程序】如何获取微信小程序代码上传密钥?
glGetUniformLocation,glUniform4f
shell awk相关练习
Okaleido tiger is about to log in to binance NFT in the second round, which has aroused heated discussion in the community
【pytorch】ResNet18、ResNet20、ResNet34、ResNet50网络结构与实现
Properties类和properties配置文件的理解学习
Clickhouse notes 1 | introduction, features | installation and use based on centos7 system | common data types | mergetree table engine | SQL operation
MySQL backup strategy
「翻译」SAP变式物料的采购如何玩转?看看这篇你就明白了
C语言实现猜数字小游戏项目实战(基于srand函数、rand函数,Switch语句、while循环、if条件判据等)
C common function integration-3
The integrated real-time HTAP database stonedb, how to replace MySQL and achieve nearly 100 times the improvement of analysis performance