Bob Paulin created CAMEL-10583:
----------------------------------

             Summary: Typo in Camel JSON Documentation
                 Key: CAMEL-10583
                 URL: https://issues.apache.org/jira/browse/CAMEL-10583
             Project: Camel
          Issue Type: Bug
          Components: camel-jackson
            Reporter: Bob Paulin


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)

Reply via email to