// 购房数据
Map<String, Object> purchaseMap = new HashMap<>();
purchaseMap.put("infoType","123");
purchaseMap.put("title","123");
// 转为对象(括号内是先把map转为JSONObject),然后将JSONObject转为对象
CrawlLianjiaErshouDealed cled = JSONObject.toJavaObject(new JSONObject(purchaseMap), CrawlLianjiaErshouDealed.class);
04-03
7397