js怎么把字符串转换成json例如:JSON字符串:var str1 = '{ "name": "cxh", "sex": "man" }'JSON对象:var str22023-04-30JavaScript930