将一个对象转化成json格式的字符串
对象:{"orderId":"e1b49d7e59e54aa4b10ff82d640ec491","productNames":"","payUrl":null,"totalPrice":0}
stringify(对象)
将json格式的字符串转化为对象
eval("("+jsonstr+")")
jsonstr :{orderId: 'e1b49d7e59e54aa4b10ff82d640ec491', productNames: '', payUrl: null, totalPrice: 0}