WCF + json.WCF响应无效,不是预期的字符串

Iev*_*ida 2 .net c# wcf json

我已经配置了wcf服务和方法返回一些结构.问题是响应'\'中的所有符号都以'/'开头示例:

    [
   {
      "rel":"http:\/\/localhost:3354\/customer\/1\/order",
      "uri":"http:\/\/localhost:3354\/customer\/1\/order\/3"
   },
   {
      "rel":"http:\/\/localhost:3354\/customer\/1\/order",
      "uri":"http:\/\/localhost:3354\/customer\/1\/order\/5"
   },
   {
      "rel":"http:\/\/localhost:3354\/customer\/1\/order",
      "uri":"http:\/\/localhost:3354\/customer\/1\/order\/8"
   }
]
Run Code Online (Sandbox Code Playgroud)

我只返回http:// localhost:3354/customer/1/order!为什么添加符号以及如何删除它们?

要么 @"http://cuustomer/1"

在json "http:\/\/cuustomer\/1"

SDR*_*yes 5

JSON规范转义斜杠.

char any-Unicode-character- except - " - 或 - 或 - control-character \"\\/\b\f \n\r\t\u四个十六进制数字

所以:C#中的"/"在JSON中变为'\ /'