Java:想要解析JSON,但是遇到好多双引号,该如何处理
publicstaticvoidmain(String[]args){Stringjson='{"response":{"data":[{"address":"南京市游乐...
public static void main(String[] args) {
String json='{"response":{"data":[{"address":"南京市游乐园","province":"江苏","district":"玄武区","city":"南京"}]},"status":"ok"}';
}
难道需要为每个双引号都转义吗? 展开
String json='{"response":{"data":[{"address":"南京市游乐园","province":"江苏","district":"玄武区","city":"南京"}]},"status":"ok"}';
}
难道需要为每个双引号都转义吗? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询