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

Add `@JsonMerge` to support (deep) merging of properties #113

Closed cowtowncoder closed 7 years ago

cowtowncoder commented 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.