JsonResult parsing special chars as \u0027 (apostrophe)

后端 未结 3 1872
天命终不由人
天命终不由人 2020-12-18 05:51

I am in the process of converting some of our web \"services\" to MVC3 from WCF Rest.

Our old web services returned JSON from POCO\'s just fine using: [WebGet(

3条回答
  •  既然无缘
    2020-12-18 06:33

    U+0027 is Unicode for apostrophe (')

    So, special characters are returned in Unicode but will show up properly when rendered on the page.

提交回复
热议问题