2011-08-18 79 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