You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vitalii Diravka (Jira)" <ji...@apache.org> on 2021/01/14 05:40:00 UTC

[jira] [Created] (DRILL-7845) Jackson without annotations

Vitalii Diravka created DRILL-7845:
--------------------------------------

             Summary: Jackson without annotations 
                 Key: DRILL-7845
                 URL: https://issues.apache.org/jira/browse/DRILL-7845
             Project: Apache Drill
          Issue Type: Improvement
          Components: Tools, Build &amp; Test
    Affects Versions: 1.18.0
            Reporter: Vitalii Diravka
             Fix For: Future


*[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|http://jackson.codehaus.org/1.1.2/javadoc/org/codehaus/jackson/annotate/JsonProperty.html]).

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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)