Skip to content

Ignore unknown keys per class / via annotation #1420

@sschuberth

Description

@sschuberth

What is your use-case and why do you need this feature?

I know keys can be ignored "globally" on the JSON builder scope. But for safely, and to better document which classes have been implemented completely and which not, I'd prefer to ignore unknown keys per class only.

Describe the solution you'd like

I'd prefer an annotation-based solution, similar to Jackson's @JsonIgnoreProperties(ignoreUnknown = true) annotation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions