ObjectSerializer 和 ObjectDeserializer 被移除了,有什么新的代替方案
muzhi9018 opened this issue · comments
muzhi9018 commented
ObjectSerializer 和 ObjectDeserializer 被移除了,有什么新的代替方案
Shaojin Wen commented
- Annotation介绍 https://github.com/alibaba/fastjson2/wiki/fastjson2_annotations
- Annotation注入介绍 https://github.com/alibaba/fastjson2/wiki/mixin_cn
- Feature介绍 https://github.com/alibaba/fastjson2/wiki/Features_cn
- 使用Mixin注入Anntation定制序列化和反序列化 https://github.com/alibaba/fastjson2/wiki/mixin_cn
- 实现ObjectWriter和ObjectReader实现定制序列化和反序列化 https://github.com/alibaba/fastjson2/wiki/register_custom_reader_writer_cn
以上这些文档看是否满足你的要求
Shaojin Wen commented
https://github.com/alibaba/fastjson2/releases/tag/2.0.5
新版本已发布,已经支持ObjectSerializer/ObjectDeserializer
muzhi9018 commented
谢谢大佬
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年5月29日(星期天) 凌晨2:12
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [alibaba/fastjson2] ObjectSerializer 和 ObjectDeserializer 被移除了,有什么新的代替方案 (Issue #275)
https://github.com/alibaba/fastjson2/releases/tag/2.0.5
新版本已发布,已经支持ObjectSerializer/ObjectDeserializer
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>