On Wed, Feb 19, 2014 at 1:29 PM, Lovro Pandzic <lovro....@gmail.com> wrote:
I've added support for analyzing method parameter names and a few integration and one unit test for the ParameterNamesAnnotationIntrospector.
There are 2 issues left:1. more javadoc
2. it seems that the ObjectMapper calls private constructor instead of static factory method annotated with @JsonCreator in the integration tests. Is it enough to annotate the method with @JsonCreator to designate it as the method for deserialization?
Yes, although there are additional signature requirements; main thing being that method has to be static for factory method, or constructor.Are there any requirements before the integration of this fork?Someone has to create the module skeleton, that's about only thing.
-+ Tatu +-On Mon, Feb 17, 2014 at 9:36 PM, Tatu Saloranta <tsalo...@gmail.com> wrote:
On Mon, Feb 17, 2014 at 11:58 AM, Lovro Pandzic <lovro....@gmail.com> wrote:
Hello Christopher,
sorry for not responding sooner, it has been a busy week. Thanks for the tips.
I've managed to get the desired result - conversion of classes with no default constructor and without using annotations.
Current progress can be found on the forked repo page: https://github.com/lpandzic/jackson-datatype-jsr310/tree/jep-118.
Question related to testing: does ObjectMapper require of JSON object to have ordered name value pair?No: ordering of properties is assumed to be undefined.
-+ Tatu +-Regards,Lovro Pandžić
On Sun, Feb 9, 2014 at 7:38 PM, Christopher Currie <chris...@currie.com> wrote:What I would suggest you do is create a repository under your own account to do the initial development. We're happy to provide assistance and guidance as you go along. When it's ready, we can make a decision if it should be adopted as an official Jackson module.To get you started, I'd look at the existing module for Java 8:You can start by simply forking this module and adding the code and tests to this project; we can decide later if it should be separate from the 310 work.Your key class is going to be NopAnnotationIntrospector; is has methods you can override for locating creators for a class. Then you'll register it using SimpleModule, to add it to the set of introspectors used by Jackson.HTH,ChristopherOn Sun, Feb 9, 2014 at 2:29 AM, Lovro Pandzic <lovro....@gmail.com> wrote:
Hello all,original issue with description can be found here: https://github.com/FasterXML/jackson-databind/issues/399.
I agree with Tatu's reply that jackson-module-jdk8 would be a natural place for introducing this feature.About the '@issue I'm a big fan of simplicity in the client code but I do agree that options should be present for clients that have high performance requirements.JsonCreator'
I am willing to make a pull request to that repository once it's created. Currently I'm not familiar with the current codebase and I'd be thankful for tips.Kind regards,
Lovro Pandžić
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
You received this message because you are subscribed to the Google Groups "jackson-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jackson-dev...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
For more options, visit https://groups.google.com/d/optout.