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:04:05 UTC
[camel] 02/02: 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 master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit f847f691e83f75b80ab317e0b9ec6b743cfe3912
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 f27850b..8072ea5 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