如何成功解析字符串
“ https://www.moneycontrol.com/bestportfolio/wealth-management-tool/investments.xml”
如果尝试使用解析
new JsonSlurper().parse(new File(url))
遇到错误
java.io.FileNotFoundException:https://www.moneycontrol.com/bestportfolio/wealth-management-tool/investments.xml
某种程度上,//
被转换为/