Skip to content

Support pattern matching #1

Closed
Closed
@monitorjbl

Description

@monitorjbl

I don't want to always have to specify everything I want to include. It would be nice if I could do this instead:

JsonView.with(obj)
        .onClass(TestObject.class, Match.match()
            .exclude("*")
            .include("id")
            .include("name"))

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