Map與Object互轉

以前寫接口時找到的方法,擔心以後用到,記錄下來。 /**  * 用於將object對象與map對象轉換  * @author WANGJIE  */ public class Transformation {  public static Object mapToObject(Map<String, Object> map, Class<?> beanClass) throws Exception
相關文章
相關標籤/搜索