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 support for @JsonIgnoreType for endpoints #56

Open
cowtowncoder opened this issue Sep 19, 2014 · 1 comment
Open

Add support for @JsonIgnoreType for endpoints #56

cowtowncoder opened this issue Sep 19, 2014 · 1 comment

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented Sep 19, 2014

Dropwizard JAX-RS provider seems to add special handling to make anything annotated with @JsonIgnoreType (that is, any endpoint annotated) to be considered "untouchable", that is, not to be processed using Jackson ObjectMapper. This makes sense in that it allows marker for certain kinds of specific classes that Jackson can not and should not handle, instead deferring to some other processing component.

@cowtowncoder cowtowncoder changed the title Add supported for @JsonIgnoreTypeq Add support for @JsonIgnoreType Jan 15, 2015
@cowtowncoder
Copy link
Member Author

Another possibility would be to use the new configureOverride mechanism, which allows marking types as ignorable: could just check if return type might be included. Check is efficient and possibly better than annotations.

@cowtowncoder cowtowncoder changed the title Add support for @JsonIgnoreType Add support for @JsonIgnoreType for endpoints Jul 28, 2017
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