You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2018/09/03 12:10:07 UTC

[jira] [Closed] (JOHNZON-184) JsonbAdapter declared through @JsonbTypeAdapter can not convert object properly

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

Mark Struberg closed JOHNZON-184.
---------------------------------

shipped in johnzon-1.1.9

> JsonbAdapter declared through @JsonbTypeAdapter can not convert object properly
> -------------------------------------------------------------------------------
>
>                 Key: JOHNZON-184
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-184
>             Project: Johnzon
>          Issue Type: Bug
>          Components: JSON-B
>    Affects Versions: 1.1.7
>            Reporter: Benoit Prudhomme
>            Assignee: Mark Struberg
>            Priority: Major
>             Fix For: 1.1.9
>
>         Attachments: JohnzonLibTest.java
>
>
> When using the @JsonbTypeAdapter, it seems that a JohnzonJsonbAdapter wraps the JsonbAdapter declared.
> Then, JohnzonJsonbAdapter seems to be used for AdapterKey build instead of the delegated one. 
> Since JohnzonJsonbAdapter is not direclty implementing Adapter.class, no key is built.
> org.apache.johnzon.mapper.MappingParserImpl#getAdapterKey:451
> May this specific case be a sign of a deeper issue ?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)