storing xml inside json object

前端 未结 3 541
不知归路
不知归路 2021-01-04 00:27

I need to store complete xml document as part of json object. when i receive the request and try to create json object from json string like below -

{\"conte         


        
3条回答
  •  没有蜡笔的小新
    2021-01-04 00:35

    Don't want to remove the line breaks from the xml but made change in json java class to not throw unterminated string exception for NL, CR. thanks Explosion Pills.

提交回复
热议问题