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.
JsonDeserializeandJsonSerializeare part of databind since they depend on classes in databindJsonSerializer..etc. But theaspart 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
@JsonDeserializeAsand@JsonSerializeAsin the jackson-annotation package.