-
-
Notifications
You must be signed in to change notification settings - Fork 127
能否安全地去掉注解的 order 属性? #75
Copy link
Copy link
Open
Labels
help wanted需要社区协助,欢迎认领! / Extra attention or help needed from the community需要社区协助,欢迎认领! / Extra attention or help needed from the community
Metadata
Metadata
Assignees
Labels
help wanted需要社区协助,欢迎认领! / Extra attention or help needed from the community需要社区协助,欢迎认领! / Extra attention or help needed from the community
目前
@RequestField和@ResponseField注解都有order属性来保证序列化和反序列化时属性的顺序。能否安全地去掉这个 “看似多余” 的属性?
没找到这方面的官方文档说明。
参考 java-reflection-getting-fields-and-methods-in-declaration-order)