摘要: String s = JSONObject.toJSONString(student) 如果student中有某个属性是Date 日期格式 的,在经过上述转换以后,日期会变成一长串数字,此时需要对日期进行格式化 String s = JSONObject.toJSONString(student, 阅读全文
posted @ 2024-01-15 15:01 星空物语之韵 阅读(133) 评论(0) 推荐(0) 编辑