You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Romain Manni-Bucau (Jira)" <ji...@apache.org> on 2021/11/24 07:48:00 UTC

[jira] [Resolved] (JOHNZON-355) @JsonbTypeAdapter at class level is ignored, when class is used in a collection

     [ https://issues.apache.org/jira/browse/JOHNZON-355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau resolved JOHNZON-355.
----------------------------------------
    Fix Version/s: 1.2.16
       Resolution: Fixed

Thanks Arne for the very good and fast patch! Applied on master!

> @JsonbTypeAdapter at class level is ignored, when class is used in a collection
> -------------------------------------------------------------------------------
>
>                 Key: JOHNZON-355
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-355
>             Project: Johnzon
>          Issue Type: Bug
>    Affects Versions: 1.2.15
>            Reporter: Arne Limburg
>            Priority: Major
>             Fix For: 1.2.16
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In the following situation Johnzon fails to serialize the collection, because it fails to find the adapter:
> {code}
> @JsonbTypeAdapter(...)
> public class Baz {
>     ...
> }
>  
> public class BazCollection {
>     List<Baz> collection;
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)