摘要: Google的Gson功能非常强大! 格式化日期我们只需要这样创建就好了 Student stu = new Student(); stu.setName("张三"); stu.setBirthDay(new Date()); 如果张三的生日是日期型的话,直接实体转json的话, new Gson( 阅读全文
posted @ 2020-05-18 14:47 阿米诚 阅读(806) 评论(0) 推荐(1) 编辑