参考:https://blog.csdn.net/u010999809/article/details/90301626
泛型Type:https://www.cnblogs.com/baiqiantao/p/7460580.html
两种方式
第一种:
JSON.parseObject(jsonStr,new TypeReference<List<User>>(){})
第二种:
JSON.parseObject(jsonStr, new ParameterizedTypeImpl(new Type[]{User.class}, null, List.class);)