Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JSON is a Data Format to marshal and unmarshal Java objects to and from JSON.

In Camel 2.0 we added support for more Camel supports the following libraries:
Camel provides integration with three popular JSON libraries:

...

Code Block
xml
xml
<dependency>
  <groupId>org.apache.camel</groupId>
  <artifactId>camel-xstream</artifactId>
  <version>2.9.0<2</version>
</dependency>

Dependencies for Jackson

...

Code Block
xml
xml
<dependency>
  <groupId>org.apache.camel</groupId>
  <artifactId>camel-jackson</artifactId>
  <version>2.9.0<2</version>
</dependency>

Dependencies for GSON

...

Code Block
xml
xml
<dependency>
  <groupId>org.apache.camel</groupId>
  <artifactId>camel-gson</artifactId>
  <version>2.10.10<0</version>
</dependency>