Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.18.0
Description
[Very minor, but can be good for newcomers]
Java 8 API adds support for accessing parameter names at runtime in order to enable clients to abandon the JavaBeans standard if they want to without forcing them to use annotations (such asĀ JsonProperty).
See more info how to implement:
- https://manosnikolaidis.wordpress.com/2015/08/25/jackson-without-annotations/
- https://docs.oracle.com/javase/tutorial/reflect/member/methodparameterreflection.html
- https://github.com/FasterXML/jackson-modules-java8/tree/master/parameter-names
- https://stackoverflow.com/questions/21920367/why-when-a-constructor-is-annotated-with-jsoncreator-its-arguments-must-be-ann
- https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-parameter-names