You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/07/19 13:35:00 UTC

[jira] [Commented] (CAMEL-11558) camel-jsonpath - Split via jsonpath looses quotes in json output

    [ 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)