str = [{"id":8,"img":"01.jpg","name":"商品6","discount_price":"1666.00","num":"1","total_money":1666}](这是由一个类数组转换成了字符串,如何让他转换回去呢?),请问如何将它分割成[{"id":8,"img":"01.jpg","name":"商品6","discount_price":"1666.00","num":"1","total_money":1666},{"id":8,"img":"01.jpg","name":"商品6","discount_price":"1666.00","num":"1","total_money":1666}]这样的数组呢?
添加回答
举报
0/150
提交
取消