Comments (2)
toString()时才会进行序列化,序列化之前它的类型仍然是LocalDateTime,如果想序列化成这种格式 可以在序列化之前指定格式
比如 JSON.configWriterDateFormat("yyyy-MM-dd'T'HH:mm:ss");
from fastjson2.
toString()时才会进行序列化,序列化之前它的类型仍然是LocalDateTime,如果想序列化成这种格式 可以在序列化之前指定格式 比如
JSON.configWriterDateFormat("yyyy-MM-dd'T'HH:mm:ss");
tks,原来如此
from fastjson2.
Related Issues (20)
- [BUG] 反序列化null的list报错 HOT 7
- [BUG] 版本2.0.46 引用类型、Boolean、Short 不支持JSONWriter.Feature.WriteNulls HOT 6
- [BUG]2.0.45 JSONObject 反系列化字段结果为null HOT 4
- 支持jsonschema数据的fake
- [QUESTION]使用parseObject反序列化一个类,类中包含一个枚举类,会出现null的情况,请问该怎么解决这个问题? HOT 7
- 1.x升级到2.x出现的问题 HOT 2
- [BUG]在某些Android设备上处理数据时崩溃 HOT 10
- [BUG] springboot3 kotlin isOk会序列化成ok,有办法解决吗 HOT 7
- [BUG] 时间日期yyyy-MM-ddTHH:mm:ss.SSSZ 带“Z”的字符串默认转换时区未正确转换 HOT 3
- fastjson2 (version 2.0.46), JSONType注解指定自定义序列化无效[BUG] HOT 5
- [BUG]消息转换器会将符号转义 HOT 5
- [BUG](2.0.43版本)@JSONField的属性serializeUsing中针对MultipartFile指定ObjectWriter不生效
- [QUESTION]文档更新 HOT 2
- [BUG]fastjson1.2.83升级到2.0.47,原先序列化引用对象的数据,再进行反序列化报错 HOT 2
- [BUG] kotlin jdk 21.0.2 情况下JSONWriter.Feature.WriteEnumsUsingName不生效 HOT 7
- [BUG] 基础数据类型和包装类使用ReferenceDetection 导致反序列化为null HOT 1
- [BUG]
- [BUG] BigDecimal 0.123456789012345678 在 JSONWriter.Feature.BrowserCompatible 下不是输出字符串 HOT 2
- [BUG] Spring6版的FastJsonHttpMessageConverter存在问题,导致请求头不返回Content-Length HOT 3
- [BUG] 定制序列化,属性值如果是子类会失效
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastjson2.