[QUESTION]自定义接口实现序列化与反序列化问题
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
### 没找到自定义序列化和反序列化
*之前V1.X版本支持实现接口com.alibaba.fastjson.parser.deserializer.ObjectDeserializer实现反序列化。*
自从审计到V2.X版本后没找到这个接口类。请知道的大佬指点一下,谢谢

为什么fastjson2 的@JSONField注解只提供了 com.alibaba.fastjson2.annotation.JSONField#writeUsing 属性 而没有提供反序列化的属性呢?怎么自定义反序列化呢?
Contributor guide
Research direction
No source file or test is named. Start by locating the fastjson2 equivalents of com.alibaba.fastjson.parser.deserializer.ObjectDeserializer and com.alibaba.fastjson2.annotation.JSONField#writeUsing, then review existing deserialization extension points; the issue is done only when the supported customization path is established or the requested reverse-serialization option is specified and implemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100