Json——转义符

C#后台直接输出Json字符串需要反斜杠“\”

context.Response.Write("[{\"Name\": \"wqx\", \"Age\": 12, \"Sex\": \"男\"}, {\"Name\": \"wqx\", \"Age\": 12, \"Sex\": \"男\"}]");

参考:Json教程

posted @ 2017-10-27 17:21  var_obj  阅读(1980)  评论(0编辑  收藏  举报