Implementations of the specification should support the Annotation „@ConstructorProperties“,
when there is no @JsonCreator annotation.
-) It is build into Java SE and does not introduce additional dependencies.
-) Convention over code: Serialization of immutable value objects without any (others) annotations.
-) It is supported by Jackson
-) It works well with project Lombok
Implementations of the specification should support the Annotation „@ConstructorProperties“, when there is no @JsonCreator annotation. -) It is build into Java SE and does not introduce additional dependencies. -) Convention over code: Serialization of immutable value objects without any (others) annotations. -) It is supported by Jackson -) It works well with project Lombok
Some links: https://docs.oracle.com/javase/7/docs/api/java/beans/ConstructorProperties.html
https://liviutudor.com/2017/09/15/little-known-yet-useful-java-annotation-constructorproperties/#sthash.JxsFuxEO.UD4JsQnZ.dpbs
https://github.com/fasterxml/jackson-databind/issues/905