Skip to content

能否安全地去掉注解的 order 属性? #75

@hylexus

Description

@hylexus

目前 @RequestField@ResponseField 注解都有 order 属性来保证序列化和反序列化时属性的顺序。
能否安全地去掉这个 “看似多余” 的属性?

没找到这方面的官方文档说明。

参考 java-reflection-getting-fields-and-methods-in-declaration-order)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted需要社区协助,欢迎认领! / Extra attention or help needed from the community

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions