users@jsonb-spec.java.net

[jsonb-spec users] [jsr367-experts] Re: JsonbCreator parameter names

From: Romain Manni-Bucau <rmannibucau_at_tomitribe.com>
Date: Thu, 9 Feb 2017 10:00:15 +0100

Hi Roman,

can't we use java 8 Parameter if property annotation is not there? it is
possible to keep names in the bytecode now and access it through reflection.


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
https://blog-rmannibucau.rhcloud.com
https://github.com/rmannibucau

2017-02-09 9:57 GMT+01:00 Roman Grigoriadi <roman.grigoriadi_at_oracle.com>:

> Hi experts,
>
> There is no clear explanation in the spec how JsonbCreator parameter names
> should be resolved and mapped. I am suggesting making JsonbProperty
> annotation mandatory for parameters of JsonbCreators, so the name can be
> resolved unambiguously.
>
> Thanks,
> Roman
>