解决方案:使用SerializerFeature.BrowserCompatible
String iString = JSON.toJSONString(varList,SerializerFeature.BrowserCompatible);
解决方案:使用SerializerFeature.BrowserCompatible
String iString = JSON.toJSONString(varList,SerializerFeature.BrowserCompatible);
转载于:https://my.oschina.net/1914195322/blog/1556036