Skip to content

Commit

Permalink
调整版本号为6.1.5
Browse files Browse the repository at this point in the history
json工具方法改进:解决集合对象转换不起作用问题,增加数组转换方法
		List<Po> dd = new ArrayList<Po>();
		Po p = new Po();
		p.setId("id");
		p.setName("name");
		dd.add(p);
		p = new Po();
		p.setId("id1");
		p.setName("name1");
		dd.add(p);;
		String json = SimpleStringUtil.object2json(dd);
		dd =  (List<Po>) StringUtil.json2ObjectWithType(json,new JsonTypeReference<List<Po>>(){});
		System.out.println(dd);
		dd = SimpleStringUtil.json2ListObject(json,Po.class);
		System.out.println(dd);
		Set<Po> se = SimpleStringUtil.json2LSetObject(json,Po.class);
		Po[] a = SimpleStringUtil.json2LArrayObject(json,Po.class);
		json2ListObject("",Po.class);
  • Loading branch information
yin-bp committed Jun 10, 2020
1 parent 927d051 commit a27b897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PROJ_GROUP=com.bbossgroups
PROJ_VERSION=5.7.3
BBOSS_VERSION=5.7.1
PROJ_VERSION=5.7.5
BBOSS_VERSION=5.7.2
skipTest=true
PROJ_WEBSITEURL=http://www.bbossgroups.com
PROJ_ISSUETRACKERURL=https://github.com/bbossgroups/bboss-http/issues
Expand Down

0 comments on commit a27b897

Please sign in to comment.