johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Grosse (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JOHNZON-48) Complex types in collection with converter
Date Tue, 21 Jul 2015 12:03:04 GMT

    [ https://issues.apache.org/jira/browse/JOHNZON-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635009#comment-14635009
] 

Karl Grosse commented on JOHNZON-48:
------------------------------------

I improved the testObjectConverter test and corrected a little error I made there. I forgot
to escape the pipe character which I used in the converter.

After reading you feedback very carefully I tried to improve the mapping and the lookup for
a converter. I patched everything together for a quick review.

> Complex types in collection with converter
> ------------------------------------------
>
>                 Key: JOHNZON-48
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-48
>             Project: Johnzon
>          Issue Type: Bug
>          Components: Mapper
>    Affects Versions: 0.9-incubating
>            Reporter: Karl Grosse
>            Priority: Critical
>             Fix For: 0.9-incubating
>
>         Attachments: JOHNZON-48.patch, JOHNZON-48.patch
>
>
> Complex objects in a list get serialized as json object without using registered converters.
This leads to malformed json strings which can't be deserialized if there is no default constructor
available (as is the case with enums). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message