let list = "[{"name":"长度","list":["50","100","60"],"key":1},{"name":"颜色","list":["红色","蓝色"],"key":2}]" 如何转为数组对象
JSON.parse(list) ?? 或者 eval。或者其他库
JSON.parse(list)
2.1m questions
2.1m answers
60 comments
57.0k users