public static <T> List<T> toSimgleList(String jsonstring, Class<T> cls) {
return JSON.parseArray(jsonstring, cls);
}
使用fastjson将json数据转换为List
最新推荐文章于 2024-07-18 15:45:25 发布
public static <T> List<T> toSimgleList(String jsonstring, Class<T> cls) {
return JSON.parseArray(jsonstring, cls);
}