想把''放在我的json对象中

时间:2011-08-18 13:17:42

标签: .net json

我无法使用JObject.Parse(string)来获得此结果:

'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'

1 个答案:

答案 0 :(得分:1)

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