Json to string, string to Json

js:

1 json to string:   

  JSON.stringify(dataList);

2 string to json:  

  JSON.parse(dataList);

c#:

1 json to string:

2 string to Json:

JsonConvert.DeserializeObject<Model>(dataList)

原文地址:https://www.cnblogs.com/zxhome/p/11585220.html