Add @JsonDeserializeAs (split off databind @JsonDeserialize) (original) (raw)

JsonDeserialize and JsonSerialize are part of databind since they depend on classes in databind JsonSerializer..etc. But the as part of the annotations doesn't. It would be useful as a standalone annotations for project that don't want to depend on databind.

If it makes a sense and it's possible to split the annotations into @JsonDeserializeAs and @JsonSerializeAs in the jackson-annotation package.