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

Change @JsonTypeInfo.defaultImpl default value to deprecate JsonTypeInfo.None.class #79

Closed
cowtowncoder opened this issue Jan 16, 2016 · 1 comment
Milestone

Comments

@cowtowncoder
Copy link
Member

As per javadocs (which suggest this was to happen in 2.6 already :) ), change default placeholder value, to deprecate unnecessary None.class (inner class).

@cowtowncoder
Copy link
Member Author

Hmmh. Actually... looks like Void.class has implicit meaning of "deserialize as null, if type not found", so that can not be used. But will figure out some other placeholder, if possible (any annotation type would work).

@cowtowncoder cowtowncoder changed the title (2.8) Change @JsonTypeInfo.defaultImpl default value to Void.class (2.8) Change @JsonTypeInfo.defaultImpl default value to deprecate None.class Jan 16, 2016
@cowtowncoder cowtowncoder changed the title (2.8) Change @JsonTypeInfo.defaultImpl default value to deprecate None.class Change @JsonTypeInfo.defaultImpl default value to deprecate None.class Apr 25, 2016
@cowtowncoder cowtowncoder added this to the 2.8.0 milestone Apr 25, 2016
@cowtowncoder cowtowncoder changed the title Change @JsonTypeInfo.defaultImpl default value to deprecate None.class Change @JsonTypeInfo.defaultImpl default value to deprecate JsonTypeInfo.None.class Apr 25, 2016
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