Repository: camel Updated Branches: refs/heads/master 604d2d8c2 -> 8cb2e8468
CAMEL-8905 encoding problems in json The actual correction is contained in the Change 604d2d8c2f5b6176608f7dad827237f465980ac4. I forgot in this prvious change to add the JIRA ID. Change-Id: Iac8a6343a18f65986e9ba7f38c545eab0db321f4 Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8cb2e846 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8cb2e846 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8cb2e846 Branch: refs/heads/master Commit: 8cb2e8468934ca1839a708ad1323e7143b246ab7 Parents: 604d2d8 Author: Franz Forsthofer <franz.forstho...@sap.com> Authored: Sat Jul 18 08:52:33 2015 +0200 Committer: Franz Forsthofer <franz.forstho...@sap.com> Committed: Sat Jul 18 08:52:33 2015 +0200 ---------------------------------------------------------------------- .../src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/8cb2e846/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java ---------------------------------------------------------------------- diff --git a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java index 941aa96..7d6b7db 100644 --- a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java +++ b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java @@ -81,7 +81,7 @@ public class JsonPathEngine { return path.read(is, jsonEncoding, configuration); } else { // no json encoding specified --> assume json encoding is unicode and determine the specific unicode encoding according to RFC-4627 - // this is a temporary solution, it can be removed as sson as jsonpath offers the encoding detection + // this is a temporary solution, it can be removed as soon as jsonpath offers the encoding detection JsonStream jsonStream = new JsonStream(is); return path.read(jsonStream, jsonStream.getEncoding().name(), configuration); }