json錯誤解析net.sf.ezmorph.bean.MorphDynaBean cannot be cast to

先說下json字符串轉對象的方法: //JSONObject轉換爲bean的兩種方法: JSONObject json = JSONObject.fromObject(temp); User user1 = (User) JSONObject.toBean(json, User. class ); JsonConfig jsonConfig = new JsonConfig(); jsonConf
相關文章
相關標籤/搜索