FasterXML / jackson-annotations

Core annotations (annotations that only depend on jackson-core) for Jackson data processor
https://github.com/FasterXML/jackson
Apache License 2.0
1.03k stars 330 forks source link

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

Closed cowtowncoder closed 8 years ago

cowtowncoder commented 8 years ago

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 commented 8 years ago

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).