今天从数据库取数据发现
varchar :["https://crm-image.haoqipei.com/app/pro/1635499771664","https://crm-image.haoqipei.com/app/pro1635499771664"]
取出来发现有多带的双引号.
用阿里的fastjson 转换一下即可。
package com.alibaba.fastjson;
<!--阿里的json 工具--> <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.66</version> </dependency>