Java实现Json转GET请求字符串
原文链接:https://blog.csdn.net/tcctcszhanghao/article/details/105518893
/**
* json格式转Get
* @param body
* @return
*/
private String jsonToGet(String body){
return body.replace("{", "").replace("}", "").
replace("\"", "").replace("'", "").
replace(":", "=").replace(",", "&");
}