开发者

XML as messagee content in JSON format

I am sending data to the browser using JSON format. But when data is a XML, I am getting parser error in the br开发者_如何学JAVAowser. How should I send xml content as data in JSON?


At a guess, you need to pass the xml as a string, escaping any quotes by putting a '\' just before them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜