Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new properties for @JsonIgnoreProperties, "allowGetters", "allowSetters" #58

Closed
cowtowncoder opened this issue May 14, 2015 · 0 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

(note: to support FasterXML/jackson-databind#95)

Currently @JsonIgnoreProperties affects both serialization and deserialization, and it is not possible to support a relatively common use-case of "read-only" properties; ones that are output when serializing, but that are to be ignored upon deserialization (not requiring a setter).
One way to allow this is to add a new property, enabling of which will NOT ignore named properties during serialization.

Note that adding matching "allowSetters" is easy as well, so let's add that since the reverse use case seems plausible as well.

cowtowncoder added a commit that referenced this issue May 14, 2015
@cowtowncoder cowtowncoder added this to the 2.6.0 milestone May 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant