Details

    • Type: Task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19.0
    • Component/s: documentation
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              bobpaulin Bob Paulin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: