mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -122,7 +122,7 @@ public interface JSON extends Converter, Cloneable, Serializable {
|
||||
* @since 4.0.6
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
default <T> T getByPath(final String expression, final Class<T> resultType){
|
||||
default <T> T getByPath(final String expression, final Type resultType){
|
||||
return (T) config().getConverter().convert(resultType, getByPath(expression));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user