时间:2024-10-12 09:44:55
1、首先在你的项目中引入hutool的jar包
3、String s = StrUtil.utf8Str(o);//将对象转为utf8字符串
5、运行程序查看结果已经转换为String类型