Skip to content

想了解一下json过滤字段,为什么会采用生成一个MixInAnnotation注解接口来实现这个功能? #1

@O-king

Description

@O-king

SimpleBeanPropertyFilter.filterOutAllExcept() 包含字段
SimpleBeanPropertyFilter.serializeAllExcept() 排除字段

配合spring AOP 可以很轻松完成这个字段过滤的功能

还请指教!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions