![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JSON
飘落的秋风
Java后端开发,SSM,SSH,shiro,spring-security...jQuery,angularjs,vue
展开
-
fastJSON,使用TypeReference处理复杂的泛型对象
解析JSON, 并将其转换为对应的数据结构。原创 2020-09-22 22:31:38 · 26145 阅读 · 0 评论 -
使用fastJSON格式化日期格式对象,及空属性,单引号等问题
经常遇到使用JSON格式化日期,可能需要转换的格式不同,一般有以下几种情况1. 毫秒时间2. 秒时间3.格式化的时间使用方式:String com.alibaba.fastjson.JSON.toJSONString(Object object)1. 默认情况下,日期格式转换为 毫秒时间,如下public class EnjoyTest { @Test public void test() throws Exception { A object = new A(); .原创 2020-09-11 17:36:55 · 6438 阅读 · 0 评论