camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10583) Typo in Camel JSON Documentation
Date Fri, 09 Dec 2016 14:23:58 GMT

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

Claus Ibsen updated CAMEL-10583:
--------------------------------
    Priority: Trivial  (was: Major)

> Typo in Camel JSON Documentation
> --------------------------------
>
>                 Key: CAMEL-10583
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10583
>             Project: Camel
>          Issue Type: Task
>          Components: documentation
>            Reporter: Bob Paulin
>            Priority: Trivial
>
> Currently the http://camel.apache.org/json.html  states:
> Finally use the Camel JacksonDataFormat to marshall the above POJO to JSON.
> from("direct:inPojoAgeView").marshal().json(TestPojoView.class, Views.Age.class);
> Note that the weight field is missing in the resulting JSON:
> {"age":30, "weight":70}
> The result is incorrect.  Should read:
> {"age":30, "height":190}
> This matches the JacksonMarshalViewTest unit test.  



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

Mime
View raw message