You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pa...@apache.org on 2019/12/08 10:06:01 UTC
[camel] branch camel-3.0.x updated: Camel 3 made Jackson the
default JSON library. Update the Javadoc of DataFormatClause#json to
reflect this.
This is an automated email from the ASF dual-hosted git repository.
pascalschumacher pushed a commit to branch camel-3.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.0.x by this push:
new 6d0fe2a Camel 3 made Jackson the default JSON library. Update the Javadoc of DataFormatClause#json to reflect this.
6d0fe2a is described below
commit 6d0fe2a665bde38104b89b1cda80f2c3a5cc5f1d
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sun Dec 8 11:03:36 2019 +0100
Camel 3 made Jackson the default JSON library. Update the Javadoc of DataFormatClause#json to reflect this.
---
.../src/main/java/org/apache/camel/builder/DataFormatClause.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/camel-core-engine/src/main/java/org/apache/camel/builder/DataFormatClause.java b/core/camel-core-engine/src/main/java/org/apache/camel/builder/DataFormatClause.java
index 01aecf5..99a2cb0 100644
--- a/core/camel-core-engine/src/main/java/org/apache/camel/builder/DataFormatClause.java
+++ b/core/camel-core-engine/src/main/java/org/apache/camel/builder/DataFormatClause.java
@@ -560,14 +560,14 @@ public class DataFormatClause<T extends ProcessorDefinition<?>> {
}
/**
- * Uses the JSON data format using the XStream json library
+ * Uses the JSON data format using the Jackson library
*/
public T json() {
return dataFormat(new JsonDataFormat());
}
/**
- * Uses the JSON data format using the XStream json library turning pretty
+ * Uses the JSON data format using the Jackson library turning pretty
* printing on or off
*
* @param prettyPrint turn pretty printing on or off