import org.apache.commons.lang.StringEscapeUtils;
String linkUrl = "json={\"type\":\"String\",\"value\":\"name\"},{\"type\":\"String\",\"value\":\"sex\"}"; System.out.println(StringEscapeUtils.unescapeJava(linkUrl));
//json={"type":"String","value":"name"},{"type":"String","value":"sex"}
标签:java,String,符号,linkUrl,value,转义,json,type From: https://www.cnblogs.com/cgy-home/p/16829287.html