public class BeanUtils extends java.lang.Object
BeanUtils()
static <T> T
copy(java.lang.Object source, java.lang.Class<T> targetClazz)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BeanUtils()
public static <T> T copy(java.lang.Object source, java.lang.Class<T> targetClazz)
先将源对象转换成json字符, 再将json字符串转换成目标对象。
T
source
targetClazz
Copyright © 2022. All Rights Reserved.