This commit is contained in:
Looly
2023-08-08 20:02:43 +08:00
parent 4ffb48412b
commit 6d100e4e0c
3 changed files with 3 additions and 1 deletions

View File

@@ -178,7 +178,7 @@ public interface JSON extends Cloneable, Serializable, IJSONTypeConverter {
* @since 3.0.8
*/
default <T> T toBean(Type type) {
return toBean(type, getConfig().isIgnoreError());
return JSONConverter.jsonConvert(type, this, getConfig());
}
/**