摘要: 第一步:pom.xml文件中引入pinyin4j依赖 第二步:新增PinYinUtil工具类 第三步:调用PinYinUtil工具类静态方法实现汉字向拼音的转换 延伸阅读: https://github.com/belerweb/pinyin4j 在github开源项目中可以找到maven中可以引入 阅读全文
posted @ 2018-11-26 11:53 sunnyamy 阅读(4869) 评论(0) 推荐(1) 编辑
摘要: 1. string 转 object 2. object转string 扩展阅读: Gson : https://www.cnblogs.com/majay/p/6336918.html https://www.jianshu.com/p/fc5c9cdf3aab fastjson : https: 阅读全文
posted @ 2018-11-26 11:36 sunnyamy 阅读(27517) 评论(1) 推荐(0) 编辑