You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Arne Limburg (Jira)" <ji...@apache.org> on 2021/11/23 20:36:00 UTC

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

Arne Limburg created JOHNZON-355:
------------------------------------

             Summary: @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


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)