Closed cowtowncoder closed 7 years ago
(see https://github.com/FasterXML/jackson-databind/issues/1399 for usage)
It is necessary to add a new annotation, @JsonMerge: although it might be possible to add a property for one of existing annotations (earlier plan was to use @JsonSetter), it seems cleaner to just define a new annotation.
@JsonMerge
@JsonSetter
(see https://github.com/FasterXML/jackson-databind/issues/1399 for usage)
It is necessary to add a new annotation,
@JsonMerge
: although it might be possible to add a property for one of existing annotations (earlier plan was to use@JsonSetter
), it seems cleaner to just define a new annotation.