You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/12/09 14:23:58 UTC
[jira] [Updated] (CAMEL-10583) Typo in Camel JSON Documentation
[ 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)