-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION] ObjectReader 怎么实现? #356
Comments
收到,我周六看你的例子,并且补一个文档 |
https://github.com/alibaba/fastjson2/releases/tag/2.0.5 |
好的 我明天试一下 感谢大佬 |
你好,我刚刚试了,LocalDate 确实没问题了,但是 LocalTime 好像没有修复哦,你看看是我操作错误还是没有修复。 // 全局注册 // 前端输入 虽说很少用上 LocalTime 吧,但难免还是有用上的,期待,谢谢! |
注意!!! 2.0.5 修复了 LocalDate 的问题,2.0.6 又出现了 LocalDate 报错问题!!! 异常:Could not write JSON: FASTJSON-2.0.6 write JSON errorUnsupported field: HourOfDay; nested exception is com.alibaba.fastjson2.JSONException: FASTJSON-2.0.6 write JSON errorUnsupported field: HourOfDay |
bug已经修复,请用2.0.7-SNAPSHOT版本验证 |
你好,请问能不能提供一个 实现 ObjectReader 的例子,FastJson2 网上教程太难找了,全是 FastJson1 的教程,然后 com.alibaba.fastjson2.writer 包下的类是不是现在还不能使用,如 ObjectWriterImplLocalDateTime.class
我想解决的问题是,后端接收 LocalDateTime 属性,前端传值:“2022-05-26”,正常,但是传值:“2022-05-26 16:42:11” 就会报错,下面是我写的 配置类 , 学习的路上,能不能提供一个解决方案,琢磨一整天了。
The text was updated successfully, but these errors were encountered: