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 2022/05/05 07:49:00 UTC

[jira] [Updated] (CAMEL-18059) camel-jsonpath - Add result type to jsonpathWriteAsString

     [ https://issues.apache.org/jira/browse/CAMEL-18059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-18059:
--------------------------------
    Description: as this allows to grab data from json as a single string result. As currently if the result is from a list then the returned object is ArrayList with 1 element. And if you say that you want the result as String then the list is unwrapped and you get the value from the list as a string

> camel-jsonpath - Add result type to jsonpathWriteAsString
> ---------------------------------------------------------
>
>                 Key: CAMEL-18059
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18059
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jsonpath
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.17.0
>
>
> as this allows to grab data from json as a single string result. As currently if the result is from a list then the returned object is ArrayList with 1 element. And if you say that you want the result as String then the list is unwrapped and you get the value from the list as a string



--
This message was sent by Atlassian Jira
(v8.20.7#820007)