![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
json
秋夫人
这个作者很懒,什么都没留下…
展开
-
Json转换工具类FastJsonUtil
pom.xml <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifactId> <version>1.2.44</version> </dependency>FastJsonUtil工具类package com.common原创 2021-01-07 12:47:35 · 966 阅读 · 0 评论 -
js 处理Json 时间带T 时间格式
开发中有时候需要从服务器端返回json格式的数据,在后台代码中如果有DateTime类型的数据使用系统自带的工具类序列化后将得到一个很长的数字表示日期数据,如下所示:复制代码代码如下://设置服务器响应的结果为纯文本格式 context.Response.ContentType = "text/plain"; //学生对转载 2016-09-02 15:08:31 · 10264 阅读 · 0 评论