camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11558) camel-jsonpath - Split via jsonpath looses quotes in json output
Date Wed, 19 Jul 2017 13:35:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16093078#comment-16093078
] 

Claus Ibsen commented on CAMEL-11558:
-------------------------------------

Okay so its because jsonpath covert the split line to a Map and then you do a toString which
then looks like a bit like json but is not. So we could add some kind of option to make jsonpath
output the result not as Map but as String in json format via jackson.

> camel-jsonpath - Split via jsonpath looses quotes in json output
> ----------------------------------------------------------------
>
>                 Key: CAMEL-11558
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11558
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jsonpath
>    Affects Versions: 2.15.2
>            Reporter: Claus Ibsen
>             Fix For: 2.20.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/JsonPath-stripes-quotes-during-split-td5771398.html
> This may still be a problem. We should take a look and make it keep the quotes so the
json input is similar in the output.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message