2011-08-18 31 views
0

我在使用JObject.Parse(串)的麻烦得到这样的结果:想把”在我的JSON对象

'apos\'trophe' 

但是......

"apos\'trophe" turns into 'apos'trophe' 
"apos\\\'trophe" turns into 'apos\\\'trophe' 
"apos\\'trophe" turns into 'apos\\'trophe' 
"apos/\'trophe" turns into 'apos/'trophe' 
+0

' “者/ \'trophe”'? – escproxy

回答

1

"apos\\\'trophe" works for me.

+0

你说得对。在你说了这个之后,我回去了,它实际上是另一段代码,然后过滤我的''到'。谢谢! – Matt