I want to deserialize a JSON-Object with Jackson. Because the target is an interface I need to specify which implementation should be used.
This information could be
You can use @JsonDeserialize(as = ImplementationClass.class) on the interface as well and all references will be deserialized the same way.
@JsonDeserialize(as = ImplementationClass.class)
Note, if one of your Implementation classes is an enum, you might need @JsonFormat(shape = JsonFormat.Shape.OBJECT) on the enum as well.
@JsonFormat(shape = JsonFormat.Shape.OBJECT)