问题描述
将这种格式{"mobilePhone":"13996000901","accessToken":"77B82E421A6708260BAE0BEB6A02561A","password":"123456","messageTime":"20141201135539","appCode":"100001"}转换为"{"mobilePhone":"13996000901","accessToken":"77B82E421A6708260BAE0BEB6A02561A","password":"123456","messageTime":"20141201135539","appCode":"100001"}"
解决方案
这个是json串吧,直接用json转换就行了
解决方案二:
有必要吗?不如直接String.replaceAll算了。
时间: 2024-10-26 04:18:41