有时候在json字符村解析时候 ,发现字符串过来的多了一个"",
"{\"districtTypeName\":\"在线工厂\",\"coverImg\":\"https://static.7895cloud.com/2023/07/03/f766d2b27957425ea0f9ede8e6c4aaeb.png\"
,\"factoryId\":849,\"popularityNum\":25,\"videoType\":\"video\",\"companyName\":\"江苏联宏纺织有限公司\",\"districtType\":\"其他\",
\"userDefinedUpload\":false,\"videoPath\":\"https://static.7895cloud.com//2023/07/03/6c5fbabddf8b4c8a8592b84fb465b212.mp4\",
\"areaName\":\"研发/办公\",
\"online\":false,\"playback\":true,\"views\":1976,\"liveStatus\":null,\"isShowBtn\":true,\"hls\":\"\"}",
导致无法解析,利用 "\\\\", "" replace
value.substring(1, value.length() - 1).replaceAll("\\\\", ""), type);
然后在解析就可以了