jsr367-experts@jsonb-spec.java.net

[jsr367-experts] Re: serializer/deserializer on type?

From: Roman Grigoriadi <roman.grigoriadi_at_oracle.com>
Date: Wed, 11 May 2016 10:13:28 +0200

On 05/11/2016 09:45 AM, Romain Manni-Bucau wrote:
> Hi guys,
>
> (de)serializers can be set on @Target({ANNOTATION_TYPE, FIELD,
> METHOD}), should we allow it on type for the root object?
Yes, it is a mistype, they should be declarable on type.
>
> PS: why annotation_type?
Good question ;) Do we support annotation inheritance / merging for user
defined annotations which are annotated with JSONB annotations? We
should remove it from all annotations if we doesn't.
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau