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

Claus Ibsen resolved CAMEL-10029.
---------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s: 2.18.0

> Allow camel-jackson to unmarshall more type by default
> ------------------------------------------------------
>
>                 Key: CAMEL-10029
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10029
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jackson
>    Affects Versions: 2.17.1
>            Reporter: Adrien PAILHES
>            Assignee: Claus Ibsen
>             Fix For: 2.18.0
>
>
> By default camel jackson unmarshaller accept to read only json which are map 
> (eg the json document begin with "{" ). If you want to be able to unmarshal 
> more json document like simple string or list you have to specify the 
> unmarshalTypeName which is not very convenient, eg:
> {noformat}
> <unmarshal>
>     <json library="Jackson" unmarshalTypeName="java.lang.Object"/>
> </unmarshal>
> {noformat}
> You should be able to unmarshall any type of json document with the default 
> setting, eg:
> {noformat}
> <unmarshal>
>     <json library="Jackson"/>
> </unmarshal>
> {noformat}



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

Reply via email to