apache/fory
在 GitHub 查看[Java] Deserialization optimization, instead of discarding fields, puts non-existent fields into a specified field.
Open
#1,799 创建于 2024年8月13日
enhancementgood first issue
仓库指标
- Star
- (4,419 star)
- PR 合并指标
- (PR 指标待抓取)
描述
Is your feature request related to a problem? Please describe.
When the upstream and downstream attributes are inconsistent, for example, the upstream is 10 fields, the downstream is not synchronized to update the field attributes, and there are only 9 attributes, then the downstream non-existent attributes will be ignored during deserialization.
Describe the solution you'd like
In some scenarios, we don't want the attribute to be lost, so can we put the attribute into a specified field, such as the other field (a map collection)?