1.将string转成json
var json={};
var myorderno=$("#myorderno").val();
json.myorderno=myorderno;
var jsontext=JSON.stringify(json);
2.将json转成string
var orderGoodsExtra= "${orderGoodsExtra }";
var json=JSON.parse(orderGoodsExtra);
$("#myorderno").val(json.myorderno);